v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Custom Metrics

Delete Custom Metric

Delete a specific custom metric by ID.

delete/v1/custom-metric/{metric_id}

Path parameters

metric_idstring uuid required

Headers

X-API-Keystring required

API key required to authenticate requests.

Response

Successful Response

namestring required
promptstring nullable
summarystring nullable
metric_typestring
eval_methodstring
settingsobject
sourcestring
eval_segmentstring
scopestring
response_type'pass_fail' | 'yes_no' | 'qualitative' | 'quantitative' | 'json' | 'enum' | 'int' | 'float' | 'boolean' | 'tool_call' required

Enum representing the possible response types for custom metrics.

min_valuenumber nullable
max_valuenumber nullable
created_atstring date-time nullable
updated_atstring date-time nullable
updated_bystring uuid nullable
created_bystring uuid nullable
idstring uuid nullable

Unique identifier for the metric

categorystring nullable
tagsstring[]
scoring_guidancestring nullable
eval_modality'AUDIO' | 'TEXT' | 'AUTO'

Enum representing the evaluation route of a call.

modelstring nullable
audio_modelstring nullable
temperaturenumber nullable
enum_optionsstring[] nullable
json_schemaobject nullable
organization_idstring uuid nullable
allow_not_applicableboolean
template_idstring uuid nullable