List room agents
curl --request GET \
--url https://developer.creao.ai/v1/rooms/{room_id}/agents \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/rooms/{room_id}/agents';
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}/agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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
List room agents
List a room’s agents with their current status.
GET
/
v1
/
rooms
/
{room_id}
/
agents
List room agents
curl --request GET \
--url https://developer.creao.ai/v1/rooms/{room_id}/agents \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/rooms/{room_id}/agents';
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}/agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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
Agents.
Show child attributes
Show child attributes