WSO2 · Schema

Tier

ThrottlingPolicy schema from WSO2 API Manager

API ManagementGatewaysOpen-SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
name string
description string
policyLevel string
displayName string
attributes object Custom attributes added to the policy policy
requestCount integer Maximum number of requests which can be sent within a provided unit time
dataUnit string Unit of data allowed to be transfered. Allowed values are "KB", "MB" and "GB"
totalTokenCount integer Maximum number of total tokens which can be used within a provided unit time
promptTokenCount integer Maximum number of prompt tokens which can be used within a provided unit time
completionTokenCount integer Maximum number of completion tokens which can be used within a provided unit time
unitTime integer
timeUnit string
rateLimitCount integer Burst control request count
rateLimitTimeUnit string Burst control time unit
quotaPolicyType string Default quota limit type
tierPlan string This attribute declares whether this policy is available under commercial or free
stopOnQuotaReach boolean By making this attribute to false, you are capabale of sending requests even if the request count exceeded within a unit time
monetizationProperties object Properties of a tier plan which are related to monetization
View JSON Schema on GitHub

JSON Schema

publisher-api-throttling-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/publisher-api-throttling-policy-schema.json",
  "title": "Tier",
  "description": "ThrottlingPolicy schema from WSO2 API Manager",
  "required": [
    "name",
    "requestCount",
    "stopOnQuotaReach",
    "tierPlan",
    "unitTime"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "example": "Platinum"
    },
    "description": {
      "type": "string",
      "example": "Allows 50 request(s) per minute."
    },
    "policyLevel": {
      "type": "string",
      "example": "api",
      "enum": [
        "subscription",
        "api"
      ]
    },
    "displayName": {
      "type": "string",
      "example": "Platinum"
    },
    "attributes": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom attributes added to the policy policy\n",
      "example": {}
    },
    "requestCount": {
      "type": "integer",
      "description": "Maximum number of requests which can be sent within a provided unit time\n",
      "format": "int64",
      "example": 50
    },
    "dataUnit": {
      "description": "Unit of data allowed to be transfered. Allowed values are \"KB\", \"MB\" and \"GB\"\n",
      "type": "string",
      "example": "KB"
    },
    "totalTokenCount": {
      "type": "integer",
      "description": "Maximum number of total tokens which can be used within a provided unit time\n",
      "format": "int64",
      "example": 1000
    },
    "promptTokenCount": {
      "type": "integer",
      "description": "Maximum number of prompt tokens which can be used within a provided unit time\n",
      "format": "int64",
      "example": 500
    },
    "completionTokenCount": {
      "type": "integer",
      "description": "Maximum number of completion tokens which can be used within a provided unit time\n",
      "format": "int64",
      "example": 600
    },
    "unitTime": {
      "type": "integer",
      "format": "int64",
      "example": 60000
    },
    "timeUnit": {
      "type": "string",
      "example": "min"
    },
    "rateLimitCount": {
      "type": "integer",
      "default": 0,
      "description": "Burst control request count",
      "example": 10
    },
    "rateLimitTimeUnit": {
      "type": "string",
      "description": "Burst control time unit",
      "example": "min"
    },
    "quotaPolicyType": {
      "type": "string",
      "description": "Default quota limit type",
      "enum": [
        "REQUESTCOUNT",
        "BANDWIDTHVOLUME",
        "AIAPIQUOTA"
      ],
      "example": "REQUESTCOUNT"
    },
    "tierPlan": {
      "type": "string",
      "description": "This attribute declares whether this policy is available under commercial or free\n",
      "example": "FREE",
      "enum": [
        "FREE",
        "COMMERCIAL"
      ]
    },
    "stopOnQuotaReach": {
      "type": "boolean",
      "description": "By making this attribute to false, you are capabale of sending requests\neven if the request count exceeded within a unit time\n",
      "example": true
    },
    "monetizationProperties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Properties of a tier plan which are related to monetization",
      "example": {}
    }
  }
}

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/publisher-api-throttling-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 email required.

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