Send a message, optionally with files attached

Send a message, optionally with files attached.

Accepts a plain JSON body, or multipart with that JSON under payload and the files as the remaining parts. FastAPI can only declare one body schema, so the two are dispatched by content type rather than by signature.

post/agent/sessions/{agent_session_id}/messages

Path parameters

agent_session_idinteger required

Headers

Authorizationstring nullable
X-User-Idstring nullable

Cookies

session_idstring nullable

Response

Successful Response

idinteger required
session_idinteger required
created_atstring date-time required
account_idinteger nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.