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`.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
ID of the metric to deprecate.
uuidThe tenant identifier
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/evaluationMetrics/497f6eca-6276-4993-bfeb-53cbbbba6f08:deprecate"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}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`.
Create a new evaluation metric for this tenant.
Adds a judge metric to the workspace library and returns its id. It is applied to an agent only after updating that agent's evaluation metrics. Requests are rate-limited.