> For the complete documentation index, see [llms.txt](https://docs.ibexa.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ibexa.ai/developers/rest-api/agents/get-agent-evaluation-metric-provider-counts.md).

# Get Agent Evaluation Metric Provider Counts

Get total evaluation counts grouped by provider type (e.g. "G-Eval", "Rule based").

Reuses the per-metric breakdown totals, resolving each metric\_id to the provider type that computes it — a metric with no registered provider type (an ad-hoc/custom-rubric metric) contributes to no group in the response.

Requires platform administration role (admin or owner).

```json
{"openapi":"3.1.0","info":{"title":"Ibexa Agentic Marketing Platform","version":"0.1.0"},"security":[{"OAuth2PasswordBearer":[]}],"components":{"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/login/access-token"}}}},"schemas":{"EvaluationTargetType":{"type":"string","enum":["execution","message","conversation"],"title":"EvaluationTargetType","description":"What kind of thing a metric is being computed for."},"ProviderMetricCountListResponseSchema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ProviderMetricCountSchema"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"ProviderMetricCountListResponseSchema","description":"Evaluation counts grouped by provider type response.\n\nA metric with no registered provider type (an ad-hoc/custom-rubric\nmetric) contributes to no group here."},"ProviderMetricCountSchema":{"properties":{"identifier":{"type":"string","title":"Identifier","description":"The provider type's identifier, e.g. 'geval'."},"name":{"type":"string","title":"Name"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["identifier","name","count"],"title":"ProviderMetricCountSchema","description":"Total evaluation count for every metric a provider type computes."}}},"paths":{"/api/v1/agents/{agent_id}/evaluations/metric-provider-counts":{"get":{"tags":["agents","public"],"summary":"Get Agent Evaluation Metric Provider Counts","description":"Get total evaluation counts grouped by provider type (e.g. \"G-Eval\", \"Rule based\").\n\nReuses the per-metric breakdown totals, resolving each metric_id to the\nprovider type that computes it — a metric with no registered provider\ntype (an ad-hoc/custom-rubric metric) contributes to no group in the\nresponse.\n\nRequires platform administration role (admin or owner).","operationId":"agents-get_agent_evaluation_metric_provider_counts","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"integer","title":"Agent Id"}},{"name":"organisation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Organisation ID. Defaults to the caller's own organisation. Superusers may specify any organisation.","title":"Organisation Id"},"description":"Organisation ID. Defaults to the caller's own organisation. Superusers may specify any organisation."},{"name":"target_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/EvaluationTargetType"},{"type":"null"}],"description":"Restrict to one target type (execution, message, or conversation). Defaults to all types combined.","title":"Target Type"},"description":"Restrict to one target type (execution, message, or conversation). Defaults to all types combined."},{"name":"daterange","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Date range as 'start,end' (ISO 8601 dates). Either part can be omitted, e.g. '2024-01-01,2024-12-31', '2024-01-01,' or ',2024-12-31'. A single date without a comma (e.g. '2024-01-01') is also accepted and sets date_from with an open-ended date_to.","title":"Daterange"},"description":"Date range as 'start,end' (ISO 8601 dates). Either part can be omitted, e.g. '2024-01-01,2024-12-31', '2024-01-01,' or ',2024-12-31'. A single date without a comma (e.g. '2024-01-01') is also accepted and sets date_from with an open-ended date_to."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderMetricCountListResponseSchema"}}}},"401":{"description":"User not authenticated","content":{"application/json":{}}},"403":{"description":"User lacks permission","content":{"application/json":{}}},"404":{"description":"Resource not found or user has no permission to access it","content":{"application/json":{}}}}}}}}
```
