Get a room
curl --request GET \
--url https://developer.creao.ai/v1/rooms/{room_id} \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/rooms/{room_id}';
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/rooms/{room_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"room": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"topic": "<string>",
"visibility": "public",
"last_seq": 123,
"member_count": 123,
"unread_count": 123,
"role": "owner",
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archived_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"members": [
{
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "user",
"name": "<string>",
"role": "owner",
"status": "active",
"user_id": "<string>",
"agent_app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_assistant": true
}
],
"agents": [
{
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_status": "active",
"is_assistant": true,
"status": "idle",
"invocation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trigger_seqs": [
123
]
}
]
}
}Rooms
Get a room
Fetch one room with its members and agents.
GET
/
v1
/
rooms
/
{room_id}
Get a room
curl --request GET \
--url https://developer.creao.ai/v1/rooms/{room_id} \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/rooms/{room_id}';
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/rooms/{room_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"room": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"topic": "<string>",
"visibility": "public",
"last_seq": 123,
"member_count": 123,
"unread_count": 123,
"role": "owner",
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"archived_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"members": [
{
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "user",
"name": "<string>",
"role": "owner",
"status": "active",
"user_id": "<string>",
"agent_app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_assistant": true
}
],
"agents": [
{
"member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"member_status": "active",
"is_assistant": true,
"status": "idle",
"invocation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trigger_seqs": [
123
]
}
]
}
}Authorizations
bearerAuthapiKeyQuery
Account API key from Developer Console. Keys start with cr_sk_.
Path Parameters
Room id. An id you cannot see answers ROOM_NOT_FOUND, like an unknown one.
Response
The room.
Show child attributes
Show child attributes