メインコンテンツへスキップ
GET
Export Metric Results

承認

Authorization
string
header
デフォルト:$CARTESIA_API_KEY
必須

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

ヘッダー

Cartesia-Version
enum<string>
デフォルト:2026-03-01
必須

API version header.

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

"2026-03-01"

クエリパラメータ

agent_id
string | null

The ID of the agent.

deployment_id
string | null

The ID of the deployment.

metric_id
string | null

The ID of the metric.

call_id
string | null

The ID of the call.

start_date
string<date-time> | null

Filter metric results created at or after this RFC 3339 datetime.

:

"2024-04-01T00:00:00Z"

end_date
string<date-time> | null

Filter metric results created before or at this RFC 3339 datetime.

:

"2024-04-30T23:59:59Z"

limit
integer

The maximum number of rows to return in this CSV page, between 1 and 1000. Passing this parameter enables paginated mode; omit it (along with starting_after and ending_before) to stream the full result set.

必須範囲: 1 <= x <= 1000
starting_after
string | null

An opaque pagination cursor. Returns the page of results after this cursor. Pass the X-Next-Cursor value from the previous page to fetch the next page. Treat the cursor as an opaque string. Cannot be combined with ending_before.

ending_before
string | null

An opaque pagination cursor. Returns the page of results before this cursor. Treat the cursor as an opaque string. Cannot be combined with starting_after.

レスポンス

Successfully exported metric results as a CSV file.

The response is of type file.