v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Human Edits

Override Custom Metric Result

Override a custom metric result on its metric_results row. custom_metric_id is the metric_results.metric_id; the string response_value is coerced by the row's metric_type.

patch/v1/evaluation/{evaluation_id}/custom-metric/{custom_metric_id}

Path parameters

evaluation_idstring required
custom_metric_idstring required

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

response_valuestring required

The manually overridden response value for the custom metric

reasoningstring nullable

The manually provided reasoning for the override

override_reason_codestring required

Structured reason for the override (one of VALID_OVERRIDE_REASON_CODES)

override_notesstring nullable

Freeform notes from the reviewer

Response

Successful Response

statusstring

Status of the response

messagestring nullable

Optional message providing additional information