List workspaces
curl --request GET \
--url https://developer.creao.ai/v1/workspaces \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/workspaces';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"agent_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "AUTHENTICATION_REQUIRED"
}{
"error": "RATE_LIMITED"
}Workspaces
List workspaces
List personal CREAO workspaces for the authenticated account.
GET
/
v1
/
workspaces
List workspaces
curl --request GET \
--url https://developer.creao.ai/v1/workspaces \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/workspaces';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/workspaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"workspaces": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"agent_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "AUTHENTICATION_REQUIRED"
}{
"error": "RATE_LIMITED"
}⌘I