curl --request GET \
--url http://localhost:3000/api/agents/{agentId}/rooms
{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"source": "<string>",
"worldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entities": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
}
]
}
Retrieves all rooms for a specific agent
curl --request GET \
--url http://localhost:3000/api/agents/{agentId}/rooms
{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"source": "<string>",
"worldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entities": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
}
]
}
ID of the agent
Filter rooms by world ID
Agent rooms
The response is of type object
.
Was this page helpful?