v1

latestOpenAPI 3.1.02026-07-26751285.0 KB
memory

Create a room

Create a new room for an agent

post/api/memory/{agentId}/rooms

Path parameters

agentIdstring uuid required

ID of the agent

Request body

namestring required

Name of the room

type'DM' | 'GROUP' | 'CHANNEL'

Type of room

sourcestring

Source of the room

worldIdstring uuid

ID of the world

serverIdstring

Server ID

metadataobject

Additional room metadata

Response

Room created successfully

successboolean

Example response

{
  "success": true
}