Traefik Labs · Schema

Traefik HTTP Middleware

An HTTP middleware as exposed by the Traefik /api/http/middlewares endpoint. Each entry shows the middleware's normalized name (name@provider), the middleware type, current status, originating provider, and the routers currently chaining it.

AI GatewayAPI GatewayAPI ManagementDeveloper PortalGitOpsKubernetesLoad BalancerMCP GatewayOpen-SourceReverse ProxyWAF

Properties

Name Type Description
name string Normalized middleware identifier in the form name@provider.
type string Middleware type identifier.
status string Operational status of the middleware.
provider string Configuration provider that created the middleware (docker, kubernetescrd, kubernetesingress, file, consul, nomad, ecs, etc.).
usedBy array List of router names that currently chain this middleware.
View JSON Schema on GitHub

JSON Schema

traefik-middleware-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://traefik.io/schemas/traefik/middleware.json",
  "title": "Traefik HTTP Middleware",
  "description": "An HTTP middleware as exposed by the Traefik /api/http/middlewares endpoint. Each entry shows the middleware's normalized name (name@provider), the middleware type, current status, originating provider, and the routers currently chaining it.",
  "type": "object",
  "required": ["name", "type"],
  "properties": {
    "name": {
      "type": "string",
      "description": "Normalized middleware identifier in the form name@provider.",
      "minLength": 1
    },
    "type": {
      "type": "string",
      "description": "Middleware type identifier.",
      "enum": [
        "addprefix",
        "basicauth",
        "buffering",
        "chain",
        "circuitbreaker",
        "compress",
        "contenttype",
        "digestauth",
        "encodedcharacters",
        "errors",
        "forwardauth",
        "grpcweb",
        "headers",
        "inflightreq",
        "ipallowlist",
        "passtlsclientcert",
        "plugin",
        "ratelimit",
        "redirectregex",
        "redirectscheme",
        "replacepath",
        "replacepathregex",
        "retry",
        "stripprefix",
        "stripprefixregex"
      ]
    },
    "status": {
      "type": "string",
      "description": "Operational status of the middleware.",
      "enum": ["enabled", "disabled", "warning"]
    },
    "provider": {
      "type": "string",
      "description": "Configuration provider that created the middleware (docker, kubernetescrd, kubernetesingress, file, consul, nomad, ecs, etc.)."
    },
    "usedBy": {
      "type": "array",
      "description": "List of router names that currently chain this middleware.",
      "items": { "type": "string" }
    }
  }
}

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/traefik-middleware"
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.