Skip to main content
GET
List turns
Returns a window of turns in chronological order. Use it to render a chat history, and page backwards with a turn ID to load older turns. Related guide: Agent access: grant credentials to agents. A newest-first window of the conversation’s turns, answered in chronological order. Page backwards with before (a turn id), never an offset.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

conversationId
string
required

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 200
before
string<uuid>

Return turns older than this turn.

Response

The window

turns
object[]
hasMore
boolean
oldestSeq
integer | null

The transcript seq of the window's first event, for fetching the matching transcript page.