Sessions
Get current concurrency status
Changed onReturns the organization's concurrent-session limit, an approximate count of sessions currently in use, whether a new session can likely be started, and an estimated wait time until a slot frees. Intended as an advisory pre-check before starting a session (e.g. to gate a "Start" button or show a wait estimate). The count is the Lab's optimistic view and can briefly over-report; the authoritative limit is enforced when a session is actually created, which may still return 429.
get/v1/sessions/concurrency
Request
- Base URLhttps://api.anam.ai
- URLhttps://api.anam.ai/v1/sessions/concurrency
- AuthHTTP bearer
Query parameters
organizationIdstring
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
Example response
{
"limit": 10,
"active": 7,
"canStartSession": true
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info