Skip to main content
GET
List Traffic Allocations

Authorizations

Authorization
string
header
default:$CARTESIA_API_KEY
required

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

Headers

Cartesia-Version
enum<string>
default:2026-08-14
required

API version header.

Available options:
2026-08-14
Example:

"2026-08-14"

Path Parameters

agent_id
string
required

The ID of the agent.

Query Parameters

starting_after
string

The allocation ID after which to start the page.

ending_before
string

The allocation ID before which to end the page. Cannot be combined with starting_after.

limit
integer
default:10

The number of allocation revisions to return, from 1 to 100.

Required range: 1 <= x <= 100

Response

Traffic allocation revisions ordered from newest to oldest.

data
TrafficAllocation · object[]
required

The requested page of immutable allocation revisions.

has_more
boolean
required

Whether another page is available.

next_page
string | null
required

An allocation ID to pass as starting_after or ending_before to retrieve the next page.