List all evaluation metrics defined for this tenant.
Returns the tenant's metric library — both built-in system metrics and tenant-defined LLM-judge metrics. By default, deprecated metrics are filtered out; pass `includeDeprecated=true` to see them (useful when rendering a UI that still needs to label agents pinned to a deprecated metric). Per-agent opt-in weights are exposed separately via `GET AgentEvaluationMetrics`.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The tenant identifier
Query Parameters
When true, deprecated metrics are included.
falseResponse Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/evaluationMetrics"[
{
"id": "00000000-0000-0000-0000-000000000000",
"key": "string",
"name": "string",
"description": "string",
"defaultWeight": 0,
"isDeprecated": false,
"createdAt": 0,
"modifiedAt": 0
}
]{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Replace the agent's full opted-in metric set
Full replace, not a patch — anything omitted is removed from the agent. Either bucket may be empty (skipping that class of evaluation entirely), but if non-empty its weights must sum to exactly 100 or the call returns 400. Takes effect on the next eval run; in-flight runs already scheduled are unaffected.
Deprecate an evaluation metric
Soft-delete: the row stays so historical eval scores remain joinable and agents still pinned to the metric can render a deprecation banner. Deprecated metrics are excluded from `GET EvaluationMetrics` unless `includeDeprecated=true`. To fully detach an agent, replace its set via `PUT AgentEvaluationMetrics`.