List runs
Paginated run list for one environment. Narrow results with status_filter, agent_name, trigger_source, deployment_id, a preset time_range, or custom start_date and end_date; time filters apply to when runs were queued. Pass session_id, session_app_name, and session_user_id together to match one exact persistent session. search matches run ID, agent name, input, output and error text; it also accepts filter expressions like context.customer == 'acme'. Ordered by sort_by (queued, duration, tokens) in sort_dir direction; defaults to queue time, newest first. projection=summary leaves out connector_id, ab_test_ids, input, output, error and triggered_by; callers without the runs.view permission always get the summary projection. include_total=false skips counting and returns total: null.
Required permission: stats.view.
Request
- Base URL: https://api.connic.co
- URL: https://api.connic.co/v1/projects/{project_id}/runs
- Auth: HTTP bearer
Path parameters
ID of the project the API key belongs to.
Query parameters
Environment to list runs from
Only runs executed by this deployment.
Preset window ending now, or a calendar period in UTC. Ignored when both start_date and end_date are set.
Custom window start; applies only together with end_date and overrides time_range.
Custom window end; applies only together with start_date.
Only runs in these statuses.
Only runs with at least one guardrail intervention of these outcomes.
Only runs of this agent.
How a run was started: manual by a user, connector by an inbound connector event, agent by another agent, or deploy_gate as a deployment test run.
How the run was triggered
Filter by A/B test variant names; use base for runs without a variant
Exclude runs with a test name
Text matched against run ID, agent name, input, output and error, or a filter expression.
Persistent session ID; requires session_app_name and session_user_id.
Agent application name of the session; requires session_id.
Agent user identity of the session; requires session_id.
Column to sort by
Sort direction
Page size, 1 to 250.
Number of runs to skip.
full returns every run field; summary leaves out the content fields.
Include the filtered total count
Convert token costs to EUR or USD at the daily ECB reference rate of each model call
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.