Skip to main content
Check your remaining balance with an admin API key:
remaining_credits is the model credits you have left, and remaining_agent_cents is your voice agent balance in US cents, so 4210 is $42.10. They’re the same balances as the Subscription page in the playground. See Get Balance.

Live concurrency

See how many sessions you have open right now, each with the limit it counts against:
  • limit is null when no limit applies. agent_calls is both directions together, and each direction has its own limit, so its limit is always null.
  • An agent direction is null when its calls can’t be counted, such as when your account has no limit in that direction.
  • Readings are shared for up to 10 seconds, so polling faster returns the same numbers.
  • Live concurrency isn’t available on the free plan, where the endpoint returns 403.
See Get Concurrency for every field.

Concurrency history

Get your peak concurrency in five-minute buckets, for up to 31 days at a time:
Each point is the highest value seen in its bucket, the same data as the Concurrency tab on the Usage page. Compare tts_requests and stt_requests with your concurrency limits to see how close you came to them.
  • Buckets with no recorded concurrency are left out rather than returned as zeros.
  • History is recorded every five minutes, so the newest bucket is at least five minutes behind.
  • Requests and WebSockets overlap, because work over a WebSocket counts in both. Don’t add them together.
See Get Concurrency History for every field.

Embed live usage on your own page

Show a live usage counter on a status page or an internal dashboard. An embed is a read-only link that shows your balance and live concurrency, and nothing else.
1

Create a link

In the playground, open the Concurrency tab on the Usage page and click Embed. Give the link a name, like “Status page”.Under Sites that can show it, list each site that will show the embed, one per line:
Each site is https:// and an exact host, with a port only if it isn’t 443. http:// works for localhost and 127.0.0.1 only, so you can try the embed while you build. List the site, not the page: https://status.example.com, not https://status.example.com/usage. Wildcards like https://*.vercel.app aren’t accepted. You can list up to 10 sites, and the list starts with your organization’s verified email domains.Click Create link. Only organization admins can create links, and embeds aren’t available on the free plan.
2

Copy the snippet

Copy the snippet right away. The link isn’t shown again.
3

Add it to your page

Paste the snippet into your page’s HTML on one of the sites you listed. The counter refreshes every 10 seconds.
Browsers won’t load the embed in a frame on any other site. The link itself still opens on its own, and anyone who can view your page can find it in the HTML. If your balance shouldn’t be public, put the embed on a page that needs a login. The embed shows TTS generations by default. Add ?show= to the src URL to pick another counter, for example https://play.cartesia.ai/embed/pk_car_embed_...?show=credits: Viewers can click the Cartesia logo in the embed to switch counters. Their choice is saved in their browser. If a refresh fails, the counter dims its last number and shows Reconnecting… until the next one succeeds. While an incident or maintenance is in progress on status.cartesia.ai, the embed shows it above the number, with a link to the status page. The line disappears when it’s resolved. Click Embed on the Concurrency tab again, click Revoke next to the link, then click Revoke again to confirm. The embed stops showing numbers at its next refresh. Each organization can have up to 10 links. Revoke one to create another. If your account moves to the free plan, its embeds show “This usage link isn’t available” and start working again when you upgrade. The Embed button stays on the Concurrency tab while you have links, so you can revoke them.