Skip to content

Read tenant staff capacity and active seat counts

GET
/tenants/{id}/staff-capacity
curl --request GET \
--url https://api.muninx.com/tenants/example/staff-capacity \
--header 'Authorization: Bearer <token>'

Tenant admins and authenticated service callers only. Counts admins and agents, including pending and suspended memberships; customers do not count. Missing legacy agent type counts as human. Free allows one human and one AI-assisted member. Active counts are separate full billing quantities; Stripe includes the first of each type. No stored quota counters are used.

id
required
string

Exact-case immutable tenant ID, or this for tenant-scoped admins

Current membership-derived staff capacity

Media typeapplication/json
object
plan
required
string
Allowed values: free business
human
required

All human staff memberships

integer
ai-assisted
required

All AI-assisted staff memberships

integer
active-human
required
integer
active-ai-assisted
required
integer
human-limit
required

Included Free allowance, not a Business cap

integer
Allowed values: 1
ai-assisted-limit
required

Included Free allowance, not a Business cap

integer
Allowed values: 1
human-remaining
required
integer
<= 1
ai-assisted-remaining
required
integer
<= 1
within-free-limits
required
boolean
Example
{
"plan": "free",
"human-limit": 1,
"ai-assisted-limit": 1
}

Invalid tenant ID

Authentication required

Administrator or service role required; admins must belong to this tenant

Tenant not found

Staff capacity unavailable