A customer's standing against its limits, for its seller
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/customers/{cid}/quotaA customer's standing against its limits, for its seller
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
cid | path | string | required |
Responses
200 Standing
Content type: application/json
tenant_idstring requireddisk_policystring requiredAllowed values:"block""notify""suspend"bandwidth_policystring requiredAllowed values:"notify""suspend"grace_daysinteger requireddisk_bytesinteger (int64) requireddisk_limit_bytesinteger (int64) requiredtraffic_bytesinteger (int64) requiredtraffic_limit_bytesinteger (int64) requiredmeasured_atstring (date-time) | null requiredthresholdsarray<integer> requiredresourcestring requireddisk, bandwidth, or page (the suspension page)
percentinteger requiredlevelinteger requiredHighest threshold reached: 0, 80, 95 or 100
over_sincestring (date-time) | null requiredenforcementstring requireddisk: fsrm_hard, fsrm_soft, panel (FSRM not usable), none; page: on, on-no-rewrite, off, failed
detailstring requiredapplied_atstring (date-time) | null requiredupdated_atstring (date-time) required
resourcestring requiredperiodstring requiredYYYY-MM
levelinteger required80, 95, 100; 0 is the suspension notice
sent_atstring (date-time) requiredrecipientsstring requiredstatusstring requiredsent, superseded, smtp_not_configured, no_recipient, failed: ...
suspend_causestring required
Example
{
"tenant_id": "string",
"disk_policy": "block",
"bandwidth_policy": "notify",
"grace_days": 0,
"disk_bytes": 0,
"disk_limit_bytes": 0,
"traffic_bytes": 0,
"traffic_limit_bytes": 0,
"measured_at": "2026-01-01T00:00:00Z",
"thresholds": [
0
],
"states": [
{
"resource": "string",
"percent": 0,
"level": 0,
"over_since": "2026-01-01T00:00:00Z",
"enforcement": "string",
"detail": "string",
"applied_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"notices": [
{
"resource": "string",
"period": "string",
"level": 0,
"sent_at": "2026-01-01T00:00:00Z",
"recipients": "string",
"status": "string"
}
],
"suspend_cause": "string"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required