FruxonDocs
EvaluationMetrics

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`.

POST
/v1/tenants/{tenant}/evaluationMetrics/{metricId}:deprecate
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

metricId*string

ID of the metric to deprecate.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/evaluationMetrics/497f6eca-6276-4993-bfeb-53cbbbba6f08:deprecate"
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}