Quota

Check your self-hosted license summary

GET/v1/quota

Get license usage summary

Returns the organization's current subscription tier and self-hosted license details. New real-target pentests are authorized by license state, target visibility, runner health, and runner concurrency.

Example Request

bash
curl -X GET "https://apviso.com/api/v1/quota" \
  -H "X-API-Key: apvk_your_key_here"

Response

Returns the current license and compatibility fields. Use the runner readiness endpoint to check whether a specific scan can start.

json
{
  "tier": "team",
  "source": "self_hosted_license",
  "license": {
    "plan": "team",
    "licenseState": "active",
    "canRegisterRunner": true,
    "canStartSelfHostedScan": true,
    "canScanPrivateTarget": true,
    "runnerLimit": 10,
    "concurrentJobLimit": 10,
    "targetLimit": 25,
    "allowedTargetVisibilities": [
      "public",
      "staging_preview",
      "private_internal",
      "localhost"
    ],
    "allowedUpdateChannel": "stable",
    "supportSla": "priority"
  }
}