Get chat history for a conversation, workflow, or session

get/v1/ai/workflow/chat/history

Query parameters

conversationIdstring

Conversation ID (stable; preferred, used by V3 chat)

workflowIdstring

Workflow ID (for edit page)

sessionIdstring

Session ID (for create page)

limitinteger

Maximum number of messages to return (default: 20, max: 100)

beforestring

RFC3339 keyset cursor; return only messages strictly older than this createdAt (reverse pagination)

beforeIdstring

Keyset cursor tiebreak; the oldest loaded row's id, paired with before, so a tied createdAt at a page boundary is not skipped

Request body

object required

Response

OK

codeinteger
messagestring
requestIdstring

Example response

{
  "code": 200,
  "message": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.