Sessions
Add a message to a session
Changed onAdds a user message and optionally waits for agent completion. Supports text, images, and file attachments. This feature is enabled for selected organizations only.
post/api/v0/sessions/{sessionId}/messages
Request
- Base URL: https://api.factory.ai
- URL: https://api.factory.ai/api/v0/sessions/{sessionId}/messages
- Auth: HTTP bearer
Path parameters
sessionIdstring required
Request body
Response
Response for status 200
Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
added the non-success response with the status
- info