Send a chat message
Sends a user message to the agent. The reply streams over the stream endpoint. A conversation owned by another user returns 404. A conversation at its message limit returns 409 with code message_limit_reached; start a new one.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Deployment ID
conversationId
Conversation ID
Request
This endpoint expects an object.
attachments
Ready files the caller owns, at most 16. File bytes are never inlined.
content
The user's message text. Send content, attachments, or both.
Response
OK
message_id
timestamp
Errors
400
Bad Request Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error