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.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
Agent ID.
The tenant identifier
Replacement weight set across both buckets.
Response Body
curl -X PUT "https://api.fruxon.com/v1/tenants/string/agents/string/evaluationMetrics" \ -H "Content-Type: application/json" \ -d '[ {} ]'[
{
"metricId": "00000000-0000-0000-0000-000000000000",
"key": "string",
"name": "string",
"description": "string",
"weight": 0,
"isDeprecated": false
}
]{
"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
}Get the evaluation metrics an agent has opted into.
Returns the resolved per-agent metric set with weights applied, split into the LLM-judge bucket and the system-metric bucket. Each bucket's weights sum to 100 when non-empty. To modify, send the full replacement set to `PUT AgentEvaluationMetrics` — there is no partial-patch endpoint.
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`.