Update an existing evaluation metric.
Mutates the metric in place — every agent currently opted-in picks up the new prompt/weight on the next eval run. Use `POST EvaluationMetricDeprecate` instead of editing when you want to retire a metric without breaking historical comparability. System (non-LLM-judge) metrics cannot be edited and will return 400.
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 update.
uuidThe tenant identifier
Updated name, description, and default weight.
Human-readable display name. Example: "Response Quality".
1 <= lengthWhat the LLM judge should evaluate for this metric. Sent verbatim as part of the evaluation criteria JSON.
1 <= lengthSuggested weight (1–100) shown by the frontend when an agent opts into this metric. Used as the seeding hint when auto-normalizing a new agent's metric set.
int321 <= value <= 100Response Body
curl -X PUT "https://api.fruxon.com/v1/tenants/string/evaluationMetrics/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "description": "string" }'{
"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
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Create a new evaluation metric for this tenant.
Adds an LLM-judge metric definition to the tenant library and returns its ID. The metric is not applied to any agent until you list it in `PUT AgentEvaluationMetrics` for that agent. Rate-limited per tenant; see `RateLimitingExtensions.SlidingWindowPolicy` for the window.
Lists access requests for an agent.
Optionally filter by status using the `status` query parameter.