Skip to main content
GET
Get a run's status and, when finished, its answer.
Scope: chat:runs:read. See API Tokens.

Authorizations

Authorization
string
header
required

CloudThinker token: a personal access token ct_pat_… (fine-grained scopes, created in Settings) or an OAuth access token ct_oat_… (1 hour, from the OAuth flow). Send Authorization: Bearer <token>. Scopes have the form module:resource:read|write; write includes read.

Path Parameters

workspace_id
string<uuid>
required

Workspace to act in. Every call names it.

run_id
string<uuid>
required

Run id.

Response

OK

One agent run started through the API.

id
string<uuid>
required
conversation_id
string<uuid> | null
required
status
enum<string>
required
Available options:
pending,
running,
succeeded,
failed,
required_approval,
cancelled
answer
string | null
required

Final answer. Set only when status is succeeded.

message
string | null
required

Status message, for example why the run failed.

failure_kind
string | null
required
url
string | null
required

The conversation in the browser. Open it when status is required_approval.

created_at
string<date-time>
required
started_at
string<date-time> | null
required
ended_at
string<date-time> | null
required