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
API version header. Must be set to the API version, e.g. '2025-04-16'.
2024-06-10, 2024-11-13, 2025-04-16, 2026-03-01 "2025-04-16"
The ID of the agent.
The ID of the metric.