Read tenant staff capacity and active seat counts
const url = 'https://api.muninx.com/tenants/example/staff-capacity';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Exact-case immutable tenant ID, or this for tenant-scoped admins
Responses
Section titled “ Responses ”Current membership-derived staff capacity
object
All human staff memberships
All AI-assisted staff memberships
Included Free allowance, not a Business cap
Included Free allowance, not a Business cap
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