API referenceAPI referenceEnterprise
Request limits and current use
Request limits and current use: CustomDomain™ API reference in the enterprise group. Covers request parameters, the request body, responses and error codes.
The request budgets that apply to the calling key and its workspace, with what each has used. Any role may call it.
Authorization
apiKey AuthorizationBearer <token>
Long-lived tenant API key, cd_live_… (production) or cd_test_… (staging, development), stored hashed. Keys created before the switch to cd_ start with sk_live_… / sk_test_… and are still accepted. Scoped to the owning application's tenant.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/limits"{ "enforced": true, "limits": [ { "scope": "person", "limit": 0, "used": 0, "remaining": 0, "reset_seconds": 0 } ]}{ "code": "account_not_verifiable", "title": "string", "details": "string", "request_id": "string", "challenge": { "value": "string", "bits": 1, "expires_at": "2019-08-24T14:15:22Z" }}{ "code": "account_not_verifiable", "title": "string", "details": "string", "request_id": "string", "challenge": { "value": "string", "bits": 1, "expires_at": "2019-08-24T14:15:22Z" }}{ "code": "account_not_verifiable", "title": "string", "details": "string", "request_id": "string", "challenge": { "value": "string", "bits": 1, "expires_at": "2019-08-24T14:15:22Z" }}