Skip to main content
GET
Read a retained coding execution turn by its native start sequence
To install and sign in to the CLI, see Call from the CLI.

Authorizations

x-coderabbitai-api-key
string
header
required

See Authentication for the key types and where to create a key.

Path Parameters

task_id
string
required
Required string length: 1 - 200
turn_start_seq
integer
required
Required range: x >= 0

Query Parameters

org_id
string

Organization for a workspace key: the Git-provider organization ID (scope.provider_organization_id) or the CodeRabbit organization ID (scope.id, or id from list organizations). Supply either org_id or org_name, never both. Omit for organization keys and MCP connections.

Minimum string length: 1
org_name
string

GitHub organization login, such as coderabbitai, not its display name. Matched case-insensitively within the authenticated workspace. Supply either org_name or org_id, never both; omit for organization keys and MCP connections.

Pattern: ^[A-Za-z0-9][A-Za-z0-9-]{0,38}$

Response

OK

start_seq
integer
required
status
enum<string>
required
Available options:
running,
patch_ready,
completed,
canceled,
failed
started_at
string
required
completed_at
required
submitted_at
required
waiting_for_interaction_id
required
result
required

Final assistant reply for a completed or patch-ready turn; null while running, after failure or cancellation, or when no final reply is retained.

error
required

Safe public error for a failed turn; null for other statuses. Internal diagnostics and tool output are never included.