Skip to content
TriedDocs
Account

Get concurrency

Read how many calls are running now and the concurrency limit of the workspace.

GEThttps://api.tried.com.au/get-concurrency

Returns the number of calls the workspace is running now and the most it can run at once. Use it before you start a large outbound job, or to show headroom on your own dashboard.

Request#

This endpoint takes no path, query or body parameters.

Example request#

curl https://api.tried.com.au/get-concurrency \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/get-concurrency", {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const concurrency = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/get-concurrency",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
concurrency = res.json()

Response#

200 OK

{
  "current_concurrency": 3,
  "concurrency_limit": 20,
  "base_concurrency": 20,
  "purchased_concurrency": 0,
  "reserved_inbound_concurrency": 0,
  "concurrency_burst_enabled": false,
  "concurrency_burst_limit": 20
}
Field Type Description
current_concurrency integer Calls counted as active: ongoing calls created in the last 3 hours plus registered calls created in the last 10 minutes.
concurrency_limit integer Most calls the workspace can run at once. New workspaces start at 20.
base_concurrency integer Same value as concurrency_limit.
purchased_concurrency integer Always 0 on this endpoint. See Get concurrency billing for purchased slots.
reserved_inbound_concurrency integer Slots held back for inbound calls. Set with Update concurrency settings.
concurrency_burst_enabled boolean Whether burst is on for the workspace.
concurrency_burst_limit integer With burst on, the lower of concurrency_limit * 3 and concurrency_limit + 300. With burst off, equal to concurrency_limit.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the analytics scope.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.

Retell compatibility#

Same path and method as Retell's get-concurrency. The response fields above are Tried's.