Add a metric to an agent. Once the metric is added, it will be run on all calls made to the agent automatically from that point onwards.
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 ID of the agent.
The ID of the metric.