Skip to main content
GET
Read one older page of an agent's turn history

Authorizations

X-Api-Key
string
header
required

Workspace API key, created in the dashboard under Settings → API Keys.

Path Parameters

id
string<uuid>
required

Agent UUID. Missing, inaccessible, and malformed IDs return an opaque 404.

Query Parameters

workspaceId
string<uuid>

Workspace the request is scoped to. Optional for API keys: a key is bound to one workspace when it is created, and naming any other workspace returns an opaque 404.

cursor
string

Opaque anchor from the previous page, or turnsCursor from the agent detail.

Maximum string length: 512
limit
integer
default:20

Sessions per page. Defaults to 20.

Required range: 1 <= x <= 100

Response

One page of history, oldest-first

data
object
required