Skip to main content

Send a message

POST 

/api/v2/projects/:slug/chats/

Send a message and get an AI response. Returns 201 for new chats, 200 for existing ones. To append to the latest output-capped assistant response, omit message and send chat_uuid and continue_message_id. Continuation returns the same user_message_id and assistant messageId with the combined text. Existing conversations require X-Chat-Restore-Token in addition to project access.

Required permission: chats_create

Request​

Responses​

Message sent successfully