VocalDocscontracts 1.65.0

Read a Run

GET /v1/runs/{run_id}

PropertyValue
Operationget_run
GroupRuns
Scopeintegrations:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A Run holds identifiers, statuses, timings and keyed hashes, never content (integrations-operations.md section 1).
Released in1.60.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Request

Set VOCAL_API to the base URL of your API and VOCAL_API_KEY to an API key with the integrations:read scope (Authentication and keys). Replace each placeholder, such as agt_... or <name>, with your own value.

curl "$VOCAL_API/v1/runs/run_..." \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Parameters

NameInTypeRequiredDescription
run_idpathRunIdyesThe id of a Run: run_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.

Responses

StatusContent typeShapeError codes
200application/jsonRun
400application/jsonErrorEnvelopeinvalid_request
401application/jsonErrorEnvelopeunauthenticated
403application/jsonErrorEnvelopeforbidden
404application/jsonErrorEnvelopenot_found
429application/jsonErrorEnveloperate_limited
500application/jsonErrorEnvelopeinternal_error

Fields of the 200 answer

The shape is Run.

FieldTypeRequiredDescription
arguments_hmacKeyedHash or nullyes
attemptsintegeryes
binding_sha256Sha256Hex or nullyes
breaker_stateBreakerState or nullyes
call_idCallId or nullyes
connection_idConnectionIdyes
connector_idConnectorId or nullyes
connector_versionstring or nullyes
contract_sha256Sha256Hex or nullyes
created_atTimestampyes
ended_atTimestampyes
environmentEnvironmentyes
error_codeToolErrorCode or nullyesNull when ok.
idRunIdyes
idempotency_key_hmacKeyedHash or nullyes
job_idJobId or nullyes
kindRunKindyes
mcp_server_idMcpServerId or nullyes
message_idMessageId or nullyes
mockbooleanyesTrue when the Connector's mock ran instead of the vendor (test).
object"run"yes
organization_idOrganizationIdyes
overhead_msintegeryesThe exec role's own time, excluding the vendor's, a measurement.
queued_msintegeryes
rate_limit_wait_msintegeryes
request_bytesintegeryes
response_bytesintegeryes
result_hmacKeyedHash or nullyes
retry_causesarray of RetryCauseyesWhy each retry was sent, such as connect_failed or http_503.
started_atTimestampyes
statusRunStatusyes
toolUpstreamToolName or nullyes
tool_binding_idToolBindingId or nullyes
tool_call_idToolCallId or nullyes
tool_idToolId or nullyes
trigger_event_idTriggerEventId or nullyes
vendor_error_codestring or nullyesThe vendor's error, normalized by the Connector to a snake_case code; never its text.
vendor_http_statusinteger or nullyes
vendor_msarray of AttemptMsyesThe vendor time of each attempt, a measurement.