Shows how many concurrency slots the workspace pays for on top of the included amount, and the charges made for them. Purchased slots cost $12 per slot per month and are taken from the credit balance.
Request#
This endpoint takes no path, query or body parameters.
Example request#
curl https://api.tried.com.au/concurrency-billing \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/concurrency-billing", {
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const billing = await res.json();import os, requests
res = requests.get(
"https://api.tried.com.au/concurrency-billing",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
billing = res.json()Response#
200 OK
{
"concurrency_limit": 30,
"included_concurrency": 20,
"purchased_slots": 10,
"price_per_slot_monthly": 12,
"charges": [
{
"amount": 80,
"description": "Purchased concurrency 2026-10: 10 slot(s) x $8",
"timestamp": 1760918400000
}
]
}| Field | Type | Description |
|---|---|---|
concurrency_limit |
integer | Current concurrency limit of the workspace. |
included_concurrency |
integer | Slots included at no extra cost. 20 unless the deployment sets TRIED_INCLUDED_CONCURRENCY. |
purchased_slots |
integer | concurrency_limit minus included_concurrency, never below 0. |
price_per_slot_monthly |
number | AUD per purchased slot per month. Always 12. |
charges |
array | Up to 24 most recent concurrency charges, newest first. amount is the positive AUD amount taken from the credit balance, timestamp is when it was charged. |
Errors#
| Status | When |
|---|---|
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the admin scope. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.