v1

latestOpenAPI 3.1.02026-07-22100167210.7 KB
Replica

Read History

Reads the conversation history for a replica with pagination from the end (bottom-up). Optionally filter by chat ID. If the workspace is sleeping or archived, it will be woken and the response will indicate this with waking: true. Retry in 30-90 seconds when waking.

get/v1/replica/{id}/history

Path parameters

idstring uuid required

The unique identifier of the replica

Query parameters

chat_idstring

Filter history to a specific chat

limitinteger

Maximum number of events to return

offsetinteger

Number of events to skip from the end

Response

Successful response

thread_idstring nullable required

Thread/session ID

totalinteger required

Total number of events

has_moreboolean required

Whether there are more events available

coding_agent'claude' | 'codex' | 'cursor' | 'opencode' | 'pi' | 'null' nullable

Currently active coding agent

wakingboolean nullable

Whether the workspace was just woken from a sleeping or archived state. Retry in 30-90 seconds.

codexAspTranscriptobject nullable

Native Codex ASP transcript when available