Add Metric to Agent

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.

Path parameters

agent_idstringRequired
The ID of the agent.
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