Get Metric

Get a metric by its ID.

Path parameters

metric_idstringRequired
The ID of the metric.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Cartesia-Version"2025-04-16"Required

Response

This endpoint returns an object.
idstring
The unique identifier for the metric.
namestring
The name of the metric. This is a unique name that you can use to identify the metric in the CLI.
promptstring
The prompt associated with the metric, detailing the task and evaluation criteria.
created_atdatetime
The timestamp when the metric was created.
display_namestring or null
The display name of the metric, if available. This is the name that is displayed in the Playground.