Kong · Schema

Rate Limiting configuration

Rate limit configuration that can be applied to an API Package or an API Package Operation.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
limit integer The amount of requests allowed for each operation within the specified duration.
duration string The timeframe to ensure that an application does not exceed the request limit.
View JSON Schema on GitHub

JSON Schema

kong-ratelimitingconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RateLimitingConfig",
  "title": "Rate Limiting configuration",
  "description": "Rate limit configuration that can be applied to an API Package or an API Package Operation.",
  "type": "object",
  "properties": {
    "limit": {
      "description": "The amount of requests allowed for each operation within the specified duration.",
      "type": "integer",
      "minimum": 0
    },
    "duration": {
      "description": "The timeframe to ensure that an application does not exceed the request limit.",
      "type": "string",
      "enum": [
        "seconds",
        "minutes",
        "hours"
      ],
      "x-speakeasy-unknown-values": "allow"
    }
  },
  "additionalProperties": false,
  "nullable": true,
  "required": [
    "limit",
    "duration"
  ]
}