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

Headers

Cartesia-Version
enum<string>
required

API version header. Must be set to the API version, e.g. '2025-04-16'.

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

"2025-04-16"

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 ISO 8601 date/time (e.g. 2024-04-01T00:00:00Z).

end_date
string<date-time> | null

Filter metric results created before or at this ISO 8601 date/time (e.g. 2024-04-30T23:59:59Z).

Response

Successfully exported metric results as a CSV file.

The response is of type file.