Create a new metric.
Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.
API version header.
2024-06-10, 2024-11-13, 2025-04-16, 2026-03-01 "2026-03-01"
The name of the metric. This must be a unique name that only allows lower case letters, numbers, and the characters _, -, and .
The prompt associated with the metric, detailing the task and evaluation criteria.
The display name of the metric.
The unique identifier for the metric.
The name of the metric. This is a unique name that you can use to identify the metric in the CLI.
The prompt associated with the metric, detailing the task and evaluation criteria.
The timestamp when the metric was created.
The display name of the metric, if available. This is the name that is displayed in the Playground.