WSO2 · Schema

Application Throttling Policy

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPRESTIdentity Federation
View JSON Schema on GitHub

JSON Schema

wso2-application-throttle-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-application-throttle-policy-schema.json",
  "title": "Application Throttling Policy",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-application-policy-collection-api-openapi.yml#/components/schemas/ApplicationThrottlePolicy",
  "allOf": [
    {
      "$ref": "#/$defs/ThrottlePolicy"
    },
    {
      "required": [
        "defaultLimit"
      ],
      "type": "object",
      "properties": {
        "defaultLimit": {
          "$ref": "#/$defs/ThrottleLimit"
        },
        "burstLimit": {
          "$ref": "#/$defs/BurstLimit"
        }
      }
    }
  ],
  "$defs": {
    "AIAPIQuotaLimit": {
      "title": "AI API Quota Limit object",
      "allOf": [
        {
          "$ref": "#/$defs/ThrottleLimitBase"
        },
        {
          "required": [
            "requestCount"
          ],
          "type": "object",
          "properties": {
            "requestCount": {
              "type": "integer",
              "description": "Maximum number of requests allowed",
              "format": "int64"
            },
            "totalTokenCount": {
              "type": "integer",
              "description": "Maximum number of total tokens allowed",
              "format": "int64"
            },
            "promptTokenCount": {
              "type": "integer",
              "description": "Maximum number of prompt tokens allowed",
              "format": "int64"
            },
            "completionTokenCount": {
              "type": "integer",
              "description": "Maximum number of completion tokens allowed",
              "format": "int64"
            }
          }
        }
      ]
    },
    "BandwidthLimit": {
      "title": "Bandwidth Limit object",
      "allOf": [
        {
          "$ref": "#/$defs/ThrottleLimitBase"
        },
        {
          "required": [
            "dataAmount",
            "dataUnit"
          ],
          "type": "object",
          "properties": {
            "dataAmount": {
              "type": "integer",
              "description": "Amount of data allowed to be transfered",
              "format": "int64"
            },
            "dataUnit": {
              "type": "string",
              "description": "Unit of data allowed to be transfered. Allowed values are \"KB\", \"MB\" and \"GB\""
            }
          }
        }
      ]
    },
    "BurstLimit": {
      "title": "Burst Limit object",
      "type": "object",
      "properties": {
        "rateLimitCount": {
          "type": "integer",
          "description": "Burst control request count"
        },
        "rateLimitTimeUnit": {
          "type": "string",
          "description": "Burst control time unit"
        }
      }
    },
    "EventCountLimit": {
      "title": "Event Count Limit object",
      "allOf": [
        {
          "$ref": "#/$defs/ThrottleLimitBase"
        },
        {
          "required": [
            "eventCount"
          ],
          "type": "object",
          "properties": {
            "eventCount": {
              "type": "integer",
              "description": "Maximum number of events allowed",
              "format": "int64"
            }
          }
        }
      ]
    },
    "RequestCountLimit": {
      "title": "Request Count Limit object",
      "allOf": [
        {
          "$ref": "#/$defs/ThrottleLimitBase"
        },
        {
          "required": [
            "requestCount"
          ],
          "type": "object",
          "properties": {
            "requestCount": {
              "type": "integer",
              "description": "Maximum number of requests allowed",
              "format": "int64"
            }
          }
        }
      ]
    },
    "ThrottleLimit": {
      "title": "Throttle Limit",
      "required": [
        "type"
      ],
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Type of the throttling limit. Allowed values are \"REQUESTCOUNTLIMIT\", \"BANDWIDTHLIMIT\", \"EVENTCOUNTLIMIT\"\nand \"AIAPIQUOTALIMIT\".\nPlease see schemas of \"RequestCountLimit\", \"BandwidthLimit\", \"EventCountLimit\" and \"AIAPIQuotaLimit\" \nthrottling limit types in Definitions section.\n",
          "enum": [
            "REQUESTCOUNTLIMIT",
            "BANDWIDTHLIMIT",
            "EVENTCOUNTLIMIT",
            "AIAPIQUOTALIMIT"
          ]
        },
        "requestCount": {
          "$ref": "#/$defs/RequestCountLimit"
        },
        "bandwidth": {
          "$ref": "#/$defs/BandwidthLimit"
        },
        "eventCount": {
          "$ref": "#/$defs/EventCountLimit"
        },
        "aiApiQuota": {
          "$ref": "#/$defs/AIAPIQuotaLimit"
        }
      }
    },
    "ThrottleLimitBase": {
      "title": "Throttle Limit Base",
      "required": [
        "timeUnit",
        "unitTime"
      ],
      "type": "object",
      "properties": {
        "timeUnit": {
          "type": "string",
          "description": "Unit of the time. Allowed values are \"sec\", \"min\", \"hour\", \"day\""
        },
        "unitTime": {
          "type": "integer",
          "description": "Time limit that the throttling limit applies."
        }
      }
    },
    "ThrottlePolicy": {
      "title": "Generic Throttling Policy",
      "required": [
        "policyName"
      ],
      "type": "object",
      "properties": {
        "policyId": {
          "type": "string",
          "description": "Id of policy",
          "readOnly": true
        },
        "policyName": {
          "maxLength": 60,
          "minLength": 1,
          "type": "string",
          "description": "Name of policy"
        },
        "displayName": {
          "type": "string",
          "description": "Display name of the policy",
          "maxLength": 512
        },
        "description": {
          "maxLength": 1024,
          "type": "string",
          "description": "Description of the policy"
        },
        "isDeployed": {
          "type": "boolean",
          "description": "Indicates whether the policy is deployed successfully or not.",
          "default": false
        },
        "type": {
          "type": "string",
          "description": "Indicates the type of throttle policy"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wso2-application-throttle-policy"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.