Get chat conversation

View as Markdown

Returns one conversation’s thread (messages in order) plus assistant_streaming (true while an assistant reply is still being persisted). Omit limit for the full thread; pass limit for the tail and before_seq to page older messages. When a page is returned, has_more and oldest_seq describe the remaining history.

Authentication

AuthorizationBearer
OAuth 2.0 device flow or platform session token

Path parameters

deploymentIdstringRequired
Deployment ID
conversationIdstringRequired

Conversation ID (client-chosen UUID v4)

Query parameters

limitintegerOptional

Return only the most recent N messages (tail). Omit for the full thread.

before_seqintegerOptional

Return messages older than this sequence number (pagination cursor).

Response

Conversation thread
conversation_idstring
titlestring
updated_atdatetime
assistant_streamingboolean
messageslist of objects
has_moreboolean

Present when a page was returned; more (older) messages exist.

oldest_seqinteger

Sequence number of the oldest message in this page (pagination cursor).

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error