Chat with MemOS

Chat with the MemOS system.

POST
/
chat
{
  "code": 200,
  "message": "Operation successful",
  "data": "<string>"
}

Body

application/json
user_id
string | null

User ID for the request

Example:
"user123"
query
string
required

Chat query message.

Example:
"What is the latest update?"

Response

application/json

Successful Response

Response model for chat operations.

code
number
default: 200

Response status code

Example: 200
message
string
required

Response message

Example: "Operation successful"
data
string | null

Response data