Create Metric
Create a new metric.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Cartesia-Version
Request
This endpoint expects an object.
name
The name of the metric. This must be a unique name that only allows lower case letters, numbers, and the characters _, -, and .
prompt
The prompt associated with the metric, detailing the task and evaluation criteria.
display_name
The display name of the metric.
Response
This endpoint returns an object.
id
The unique identifier for the metric.
name
The name of the metric. This is a unique name that you can use to identify the metric in the CLI.
prompt
The prompt associated with the metric, detailing the task and evaluation criteria.
created_at
The timestamp when the metric was created.
display_name
The display name of the metric, if available. This is the name that is displayed in the Playground.