Skip to main content
GET
/
agents
/
metrics
/
results
/
export
Export Metric Results
curl --request GET \
  --url https://api.cartesia.ai/agents/metrics/results/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Cartesia-Version: <cartesia-version>'
"<string>"

Authorizations

Authorization
string
header
required

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

Headers

Cartesia-Version
enum<string>
required

API version header.

Available options:
2024-06-10,
2024-11-13,
2025-04-16,
2026-03-01
Example:

"2026-03-01"

Query Parameters

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.

Example:

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

end_date
string<date-time> | null

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

Example:

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

Response

Successfully exported metric results as a CSV file.

The response is of type file.