v1

latestOpenAPI 3.0.32026-07-23143.0 KB

Send a chat message

Sends a message payload to a specific character and receives a response containing the generated text, usage stats, and triggered tools.

post/chat

Request body

characterstring uuid required

The UUID of the target character.

Response

Successful response from the character

idstring

Unique identifier for the chat response.

createdinteger

Unix timestamp (in milliseconds) of when the response was created.

characterstring uuid

The UUID of the character that generated the response.

textstring

The generated text response from the AI.

tools_usedstring[]

A list of tools the AI triggered to generate the response.

selfiestring nullable

Bytes for an attached selfie, if applicable.

voice_messagestring nullable

Bytes for an attached voice message, if applicable.

usagenumber float

Token or compute usage for the request.