curl --request GET \
--url http://localhost:3000/api/agents/worlds
{
"success": true,
"data": {
"worlds": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sourceType": "<string>",
"sourceId": "<string>",
"metadata": {}
}
]
}
}
Get all worlds across all agents
curl --request GET \
--url http://localhost:3000/api/agents/worlds
{
"success": true,
"data": {
"worlds": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sourceType": "<string>",
"sourceId": "<string>",
"metadata": {}
}
]
}
}
Worlds retrieved successfully
The response is of type object
.
Was this page helpful?