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>'

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. '2024-06-10'.

Available options:
2024-06-10,
2024-11-13,
2025-04-16
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.

starting_after
string | null

A cursor to use in pagination. starting_after is a metric result ID that defines your place in the list. For example, if you make a /metrics/results request and receive 100 objects, ending with metric_result_abc123, your subsequent call can include starting_after=metric_result_abc123 to fetch the next page of the list.

ending_before
string | null

A cursor to use in pagination. ending_before is a metric result ID that defines your place in the list. For example, if you make a /metrics/results request and receive 100 objects, starting with metric_result_abc123, your subsequent call can include ending_before=metric_result_abc123 to fetch the previous page of the list.

limit
integer | null

The number of metric results to return per page, ranging between 1 and 100.