memory

Create a room

Create a new room for an agent

post/api/memory/{agentId}/rooms

Request

  • Base URL
    http://localhost:3000
  • URL
    http://localhost:3000/api/memory/{agentId}/rooms
  • Auth
    none declared

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
}

Changes

No recorded changes to this operation across all 2 revisions of this API.