cURL
curl --request PATCH \ --url http://localhost:3000/api/agents/{agentId}/worlds/{worldId} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "metadata": {} } '
{ "success": true, "data": { "world": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "sourceType": "<string>", "sourceId": "<string>", "metadata": {} } } }
Update world properties
Documentation IndexFetch the complete documentation index at: https://docs.elizaos.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.elizaos.ai/llms.txt
Use this file to discover all available pages before exploring further.
ID of the agent
ID of the world to update
Updated name for the world
Updated metadata (merged with existing)
World updated successfully
true
Show child attributes
Was this page helpful?