Sessions
Get session messages
Changed onReturns paginated message history with optional role filtering. This feature is enabled for selected organizations only.
get/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
Query parameters
limitstring
Maximum number of items to return (1-100)
cursorstring
Cursor for pagination
computerIdstring
Computer ID to query directly
role'user' | 'assistant' | 'tool'
Filter messages by role
Response
Response for status 200
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the optional property
/////to the response with the status
- info