Custom Metrics

Delete Custom Metric

Delete a specific custom metric by ID.

delete/v1/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
workspace_idstring nullable
allow_not_applicableboolean
template_idstring uuid nullable

Changes

Changed in 3 of the 20 revisions of this API.5

    • added the optional property workspace_id to the response with the 200 status

      response-optional-property-added

    • added the optional property created_by to the response with the 200 status

      response-optional-property-added

    • added the optional property updated_at to the response with the 200 status

      response-optional-property-added

    • added the optional property updated_by to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog