Ambassador · Schema

RateLimitRule

A single rate limiting rule with a pattern and rate

API DevelopmentGatewaysIngressKubernetesMock ServersMocksPlatformTesting

Properties

Name Type Description
pattern array Descriptor entries to match against. Each entry is a key-value pair that must match the labels sent with the request.
rate integer Maximum number of requests allowed in the specified unit of time
unit string Time unit for the rate limit
injectRequestHeaders array Headers to inject into the request when the rate limit is applied
View JSON Schema on GitHub

JSON Schema

ambassador-ratelimitrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RateLimitRule",
  "title": "RateLimitRule",
  "type": "object",
  "description": "A single rate limiting rule with a pattern and rate",
  "required": [
    "pattern",
    "rate"
  ],
  "properties": {
    "pattern": {
      "type": "array",
      "description": "Descriptor entries to match against. Each entry is a key-value pair that must match the labels sent with the request.",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "example": [
        {
          "generic_key": "my-rate-limit"
        }
      ]
    },
    "rate": {
      "type": "integer",
      "description": "Maximum number of requests allowed in the specified unit of time",
      "minimum": 1,
      "example": 10
    },
    "unit": {
      "type": "string",
      "description": "Time unit for the rate limit",
      "enum": [
        "second",
        "minute",
        "hour",
        "day"
      ],
      "default": "minute",
      "example": "second"
    },
    "injectRequestHeaders": {
      "type": "array",
      "description": "Headers to inject into the request when the rate limit is applied",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "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/ambassador-ratelimitrule"
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.