Get session messages
Changed onReturns paginated message history with optional role filtering. This feature is enabled for selected organizations only.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
Query parameters
Maximum number of items to return (1-100)
Cursor for pagination
Computer ID to query directly
Filter messages by role
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Changes
- info
added the optional property
messages/items/author/sharedSessionMemberto the response with the status - info
added the optional property
messages/items/content/items/anyOf[subschema #6]/respondedBy/sharedSessionMemberto the response with the status
- info
- info
added the optional property
messages/items/noticeKindto the response with the status
1 more change in this revision
- info