Get agent
Returns the agent's configuration from the active deployment (null when the active deployment does not contain it), run statistics, token usage and cost, linked connectors, and average scores of its judges in the given environment. Statistics and judge averages cover runs queued in the selected window (the last 30 days by default), narrowed by the run filters.
Required permission: agents.view.
Request
- Base URL: https://api.connic.co
- URL: https://api.connic.co/v1/projects/{project_id}/agents/{agent_name}
- Auth: HTTP bearer
Path parameters
ID of the project the API key belongs to.
Agent name as defined in the agent's YAML file.
Query parameters
Target environment UUID
Preset statistics window ending now, a calendar period in UTC, or all for no time limit. Ignored when start_date is set.
Custom statistics window start; overrides time_range.
Custom statistics window end; used only with start_date, which is open-ended without it.
Only include runs executed by this deployment.
Restrict stats to statuses
Restrict stats to guardrail outcomes
A/B test variant names; use base for runs without a variant
Exclude runs with a test name
Run search text or filter expression, as in GET /runs.
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.