v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Metrics Lab

Create Metric Revision

Create a new metric revision for a lab. Revision number is auto-incremented by DB trigger.

post/v1/metrics-lab/lab/{lab_id}/metric-revisions

Path parameters

lab_idstring uuid required

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

custom_metric_idstring required

Custom metric ID (UUID as string)

descriptionstring nullable

Description of the metric revision

scoring_guidancestring nullable

Scoring guidance for the metric revision

eval_routestring nullable

Evaluation route (e.g., 'AUDIO', 'TEXT', 'AUTO')

modelstring nullable

Model to use for evaluation

audio_modelstring nullable

Audio model to use for evaluation

temperaturenumber nullable

Temperature for evaluation (0-2)

allow_not_applicableboolean

Whether to allow 'not applicable' responses

Response

Successful Response

idstring required

Revision ID (UUID as string)

lab_idstring required

Lab ID (UUID as string)

custom_metric_idstring required

Custom metric ID (UUID as string)

revision_numberinteger required

Revision number (auto-incremented)

descriptionstring nullable

Description of the metric revision

scoring_guidancestring nullable

Scoring guidance for the metric revision

eval_routestring nullable

Evaluation route

modelstring nullable

Model to use for evaluation

audio_modelstring nullable

Audio model to use for evaluation

temperaturenumber nullable

Temperature for evaluation

allow_not_applicableboolean nullable

Whether to allow 'not applicable' responses

created_atstring date-time required

When the revision was created