Get run
Changed onReturns one run with its input, output, error, execution trace, token usage and cost, connector, trigger details and run context. Token usage and cost cover the agent's own model calls; judge evaluations of the run are listed by GET /runs/{run_id}/judge-runs.
Required permission: runs.view.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
Run ID from GET /runs.
Query parameters
Convert token costs to EUR or USD at the daily ECB reference rate of each model call
Response
Successful Response
One run with its content, execution trace, token usage and cost.
Base agent name; runs handled by an A/B variant are stored under the base name.
A/B test variant that handled the run, or the test case name for deploy_gate runs; null for runs of the base agent.
IDs of the A/B tests this run was counted in.
scheduled and queued runs have not started, started runs are executing, awaiting_approval runs wait for a tool approval, and completed, failed and cancelled are final.
Run input as text, with the environment's redacted keys masked; null after the run is deleted.
Final agent output, with the environment's redacted keys masked; null until the run finishes and after it is deleted.
Failure or cancellation message, if any; null after the run is deleted.
When the run was created.
When execution began; null until the run starts.
When the run reached a final status; null while it is active.
Execution time in milliseconds, excluding time spent waiting for approvals or child runs; null until the run ends.
When the run's content and trace were deleted; null if they were not. Status, usage and cost remain.
True when the run and its background processing (usage accounting, judge evaluations, outbound deliveries) have finished, so it can be deleted.
When a scheduled run is due to start; null for runs queued immediately.
Why a queued run has not started yet, for example concurrency_wait, credit_exhausted or budget_limit_exceeded:<spend alert ID>. Null once the run starts.
Token counts for the agent's own model calls, excluding judge evaluations, with one model_usages entry per call.
Execution trace: spans and log entries ordered by start_time, then span_order. Empty after the run is deleted.
Connector whose event started a run.
ID of the run whose agent started this run; older runs may hold a free-text value instead.
The run whose agent started this run.
What started the run: a user or API call, a connector event, another agent, or a deployment test.
ID of the deployment that ran this run; null until the run is picked up.
Token cost in each model's pricing currency, or in one currency when convert_costs_to is set.
Costs from outside connic recorded on the run, oldest first. connic never bills them.
Context values stored by the run's middleware and tools, with the environment's redacted keys masked; null after the run is deleted.
Persistent session a run belongs to.
Guardrail checks that warned about, blocked or redacted content during the run.
Changes
- info
added the required property
token_cost/anyOf[subschema #1: PublicTokenCostResponse]/coverage/missing_price_modelsto the response with the status
- info
- info
added the optional property
cost_itemsto the response with the status - info
added the optional property
token_cost/anyOf[subschema #1: PublicTokenCostResponse]/breakdown/additionalProperties/external_costto the response with the status
- info