Returns your agent usage over time, bucketed by the requested interval.
Cartesia admin API key (sk_car_admin_...). Get one at play.cartesia.ai/keys/admin.
API version header.
2024-06-10, 2024-11-13, 2025-04-16, 2026-03-01 "2026-03-01"
Start of the time window, as an RFC 3339 datetime (with timezone). Defaults to a few days before end_ts. Rounded down to the start of the UTC day. start_ts to end_ts cannot span more than a year.
"2026-03-01T00:00:00Z"
End of the time window, as an RFC 3339 datetime (with timezone). Defaults to now. Rounded up to the start of the next UTC day, unless already at midnight. start_ts to end_ts cannot span more than a year.
"2026-03-01T00:00:00Z"
Omit to receive a single bucket spanning from start_ts to end_ts.
Groups usage data into buckets according to time.
day, week, month Agent usage buckets in chronological order. Buckets with no recorded activity are returned with zero values.