メインコンテンツへスキップ
POST
/
agents
/
{agent_id}
/
metrics
/
{metric_id}
Add Metric to Agent
curl --request POST \
  --url https://api.cartesia.ai/agents/{agent_id}/metrics/{metric_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Cartesia-Version: <cartesia-version>'

承認

Authorization
string
header
必須

Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.

ヘッダー

Cartesia-Version
enum<string>
必須

API version header.

利用可能なオプション:
2026-03-01
:

"2026-03-01"

パスパラメータ

agent_id
string
必須

The ID of the agent.

metric_id
string
必須

The ID of the metric.

レスポンス

204 - undefined