Export Metric Results

Export metric results to a CSV file. This endpoint is paginated with a default of 10 results per page and maximum of 100 results per page. Information on pagination can be found in the headers x-has-more, x-limit, and x-next-page.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Cartesia-Version"2025-04-16"Required

Query parameters

agent_idstringOptional
The ID of the agent.
deployment_idstringOptional
The ID of the deployment.
metric_idstringOptional
The ID of the metric.
call_idstringOptional
The ID of the call.
starting_afterstringOptional

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_beforestringOptional

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.

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