List a Reason's messages
Changed onReturns the Reason's conversation in order, as listSessionConversation returns its conversation Session's: the opening prompt, each message sent to it, and one reply for every finished turn, failed or cancelled turns included, with kind telling them apart. The page is empty, with session_id null, until the conversation is opened by its first message. Cursor-paginated: pass end_cursor as after, and keep polling with it to receive the Reason's next reply. Readable by the Reason's owner and the people it is shared with.
<sub>Scope: sessions:read</sub>
Request
- Base URLhttps://api.reasonmachines.com
- URLhttps://api.reasonmachines.com/v3/organizations/{orgId}/reasons/{reasonId}/messages
- AuthHTTP bearer
Query parameters
How many conversation items one page holds, up to 200.
Cursor from a previous page's end_cursor (or an item's cursor): return only what follows it. Keep polling with the last end_cursor to receive the Reason's next replies.
Response
A page of the Reason's conversation.
Changes
- info
endpoint added
- info