Skip to main content
GET
/
analytics
/
tenants
/
{tenant_id}
/
quota
Get Tenant Quota
curl --request GET \
  --url https://api.example.com/analytics/tenants/{tenant_id}/quota \
  --header 'Authorization: Bearer <token>'
{
  "tenant_id": "<string>",
  "monthly_call_limit": 123,
  "calls_used_this_month": 123,
  "calls_remaining": 123,
  "calls_usage_percentage": 123,
  "max_concurrent_calls": 123,
  "current_active_calls": 123,
  "concurrent_calls_remaining": 123,
  "concurrent_usage_percentage": 123,
  "total_minutes_used": 123,
  "quota_exceeded": true,
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

tenant_id
string<uuid>
required

Response

Successful Response

Tenant quota and usage information.

tenant_id
string
required
monthly_call_limit
integer
required

Maximum calls allowed per month

calls_used_this_month
integer
required

Calls made this month

calls_remaining
integer
required

Calls remaining this month

calls_usage_percentage
number
required

Percentage of monthly call quota used

max_concurrent_calls
integer
required

Maximum concurrent calls allowed

current_active_calls
integer
required

Currently active calls

concurrent_calls_remaining
integer
required

Available concurrent call slots

concurrent_usage_percentage
number
required

Percentage of concurrent capacity used

total_minutes_used
number
required

Total minutes used all-time

quota_exceeded
boolean
required

Whether quota has been exceeded

status
string
required

Tenant status (active, blocked, etc.)