Skip to main content
GET
Get current concurrency status

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

organizationId
string

Report the concurrency status of another organization. Restricted to Anam-internal admin API keys; other keys receive 403.

Response

Current concurrency status for the organization

Advisory concurrency snapshot. The active count is approximate (it can briefly over-report, e.g. a crashed session before cleanup), so treat every field as an optimistic view rather than a guarantee.

limit
integer

The organization's concurrent-session plan limit.

Example:

10

active
integer

Approximate number of sessions currently occupying a slot.

Example:

7

canStartSession
boolean

Advisory — whether a session can likely be started now.

Example:

true

estimatedWaitSeconds
integer | null

Estimated seconds until the next slot frees while at capacity (derived from the org's rolling 30-day average session length and the elapsed time of the longest-running session); 0 when a slot is available or expected imminently; null when no estimate is possible.

Example:

0

Last modified on July 24, 2026