v6

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0182128753.1 KB
Conversations

List Conversation Messages

Available for: Chatflow, New Agent, Chatbot, Agent apps.

Returns a conversation's message history, newest first. Pass first_id to page backward into older messages.

get/messages

Query parameters

conversation_idstring required

ID of the conversation to read. Get conversation IDs from List Conversations.

userstring

End-user identifier, defined by your app and unique within it. See End User Identity.

first_idstring

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.

limitinteger

Number of chat history messages to return per request.

Response

Successfully retrieved conversation history.

limitinteger

Number of items per page.

has_moreboolean

Whether there are more messages.