{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amply-tools/json-schema/amply-tools-get-v6-apikey-quota-response-schema.json",
  "title": "GetV6ApikeyQuotaResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/amply-tools-openapi-generated.yml#/components/schemas/GetV6ApikeyQuotaResponse",
  "type": "object",
  "properties": {
    "result": {
      "type": "string",
      "description": "Indicates success or error."
    },
    "documentation": {
      "type": "string",
      "description": "URL to the API documentation."
    },
    "terms_of_use": {
      "type": "string",
      "description": "URL to the terms of use."
    },
    "plan_quota": {
      "type": "integer",
      "description": "Total number of requests allowed per month for the plan."
    },
    "requests_remaining": {
      "type": "integer",
      "description": "Number of requests left in the current period."
    },
    "refresh_day_of_month": {
      "type": "integer",
      "description": "Day of the month when the quota resets."
    },
    "error-type": {
      "type": "string",
      "description": "Error code when result is \"error\" (e.g., \"invalid-key\", \"inactive-account\", \"quota-reached\")."
    }
  }
}