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.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

agent_idstringRequired
The ID of the agent.
metric_idstringRequired
The ID of the metric.

Headers

Cartesia-Version"2025-04-16"RequiredDefaults to 2025-04-16