Get agent
Changed onReturns 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 URLhttps://api.connic.co
- AuthHTTP 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
Agent identity and deployed configuration.
Run, duration, token and cost statistics for runs matching the filters.
Connectors linked to the agent in this environment.
Judges for the agent in this environment, with average scores over the matching runs.
Changes
- breaking
the response property
connectors/items/modebecame optional for the status - breaking
response property
connectors/items/modelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
response property
connectors/items/modedeprecated
3 more changes in this revision
- breaking