List Conversation Messages
Available for: Chatflow, Agent, Chatbot, Legacy Agent apps.
Returns a conversation's message history, newest first. Pass first_id to page backward into older messages.
Query parameters
ID of the conversation to read. Get conversation IDs from List Conversations.
End-user identifier, defined by your app and unique within it. See End User Identity.
Pagination cursor: the id of the first message on the current page. Pass it to fetch the previous (older) page; omit to fetch the latest messages.
Number of chat history messages to return per request.
Response
Successfully retrieved conversation history.
Changes
Changed in 1 of the 10 revisions of this API.6
- ○
added the optional property
data/items/answer_tokensto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/currencyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/message_tokensto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/provider_response_latencyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/total_priceto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/items/total_tokensto the response with the200statusresponse-optional-property-added
- ○