Skip to main content
GET
/
agents
/
metrics
List Metrics
curl --request GET \
  --url https://api.cartesia.ai/agents/metrics \
  --header 'Authorization: Bearer <token>' \
  --header 'Cartesia-Version: <cartesia-version>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "display_name": "<string>",
      "prompt": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "has_more": true,
  "next_page": "<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. '2024-06-10'.

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

"2025-04-16"

Query Parameters

starting_after
string | null

(Pagination option) The ID of the last Metric in the current response as a cursor for the next page of results.

limit
integer | null

(Pagination option) The number of metrics to return per page, ranging between 1 and 100. The default page limit is 10.

Response

200 - application/json
data
Metric · object[]
required

List of metrics.

has_more
boolean
required

Whether there are more metrics to fetch (using starting_after=id, where id is the ID of the last Metric in the current response).

next_page
string | null

The ID of the last Metric in the current response as a cursor for the next page of results.