Send a message to a chat
Append a turn to a stateful chat and receive the reply. The server persists every message, sends the last 8 turns verbatim and compresses older ones into a rolling summary, so you only ever send the new message. The response shape depends on how the chat was created: a single-Mind chat returns content + messageId (plus parsed / tool_calls when structured output or tools were requested); a multi-Mind chat returns messages[] with one entry per Mind the moderator let speak (each Mind at most once per turn, up to 5 turns); a Study chat fans the message out to every ready Mind in the attached Audiences and returns aggregated outputData. Send role: "system" to store a note in the transcript without triggering any reply. Only the chat owner can post. This endpoint always responds with buffered JSON; for progress streaming use POST /v1/minds/{mindId}/completion with responseMode: "stream".
Request
- Base URL: https://api.getminds.ai
- URL: https://api.getminds.ai/api/v1/chats/{chatId}/messages
- Auth: HTTP bearer
Path parameters
Chat UUID returned by POST /v1/chats.
Request body
Response
Reply generated (or system note stored). Discriminate on the presence of messages (multi-Mind), outputData (Study), role: "system" (system note) or content (single Mind).
Changes
No recorded changes to this operation across all 1 revision of this API.