Messaging & Integration

API Management

Microsoft.ApiManagement

Resource types
113 of 122 supported
Data plane
36 types emulated
API versions
5 newest 2024-05-01
Ships as
Plugin 2026.11
Plan
Standard and above

Data as of 2026-11-20

Resource types

The Resource Types supported by Locally for the Microsoft.ApiManagement plugin are shown below. You can click into a type to see more information.

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

API versions

The latest API version that Locally supports for Microsoft.ApiManagement is 2024-05-01. All 5 versions it supports are listed below.

Stable4

2024-05-01 2022-08-01 2021-08-01 2019-01-01

Preview1

2025-09-01-preview

Features

  • A local gateway for each service, at https://<name>.switchboard.locally:5670. Requests are matched to an API by path and to an operation by method and URL template, then forwarded to the API's service URL or a backend.
  • REST, SOAP, GraphQL, WebSocket and gRPC APIs. GraphQL APIs can be pass-through or synthetic, with resolvers. gRPC APIs carry unary and streaming calls over HTTP/2.
  • Importing OpenAPI, WSDL, WADL, GraphQL and protobuf (.proto) definitions, inline or from a link.
  • Subscription keys scoped to all APIs, one API or a product, read from the header or query string, including custom names. Open products (no subscription required) let callers in without a key.
  • Policies at the global, product, API and operation scopes, with around 70 policy elements, policy fragments and named values, including Key Vault-backed ones.
  • API versions and revisions: path, query and header versioning, and ;rev=N to call a revision.
  • Backends with credentials, client certificates, TLS validation settings, load-balanced pools and circuit breakers.
  • Credential Manager: credential providers, connections and access policies, with get-authorization-context and the consent flow.
  • A developer portal with sign-up and sign-in (including Entra ID and delegation), products and APIs shown by group, subscription keys, a test console, published pages and e-mail notifications. Mail is kept on the admin site's Email page rather than sent.
  • An admin site at https://<name>-admin.switchboard.locally:5670 for managing APIs, products, subscriptions, users and backends, with a request log, trace viewer and analytics.
  • Reports built from the requests the gateway handled.
  • Application Insights and Event Hubs loggers for trace, emit-metric and log-to-eventhub.
  • Event Grid events for users, APIs, API releases, products, subscriptions and gateways, plus CircuitBreaker.Opened and CircuitBreaker.Closed from the gateway.
  • Chaos Engineering can throttle, fail, slow down or drop gateway calls, cut WebSocket connections, or simulate an outage. Team
  • Pricing tiers: features and limits follow the service's SKU, so a call that a tier doesn't allow fails as it would in Azure.

Limitations

General

  • Older API versions accept properties that only exist in newer ones, where Azure would refuse them. This will be fixed in a future release.

APIs

  • MCP server and A2A agent APIs can be created, but the gateway doesn't serve them.

Backends

  • Service Fabric backends answer HTTP 503.

Caches

  • An external cache changes how the caching policies behave, but the gateway keeps the entries itself and doesn't use Redis at this time.

Diagnostics

  • Diagnostics feed policy telemetry only: there's no automatic request telemetry, sampling or body logging, and no Azure Monitor logger at this time.

Gateways

  • Workspace gateways can be created and connected to workspaces, but don't run: calls to them aren't served.

Policies

  • A policy with an unknown or misspelled element is saved, and every request in its scope then fails with an HTTP 500. Azure refuses it when it's saved.
  • Dapr policies are refused, as on Azure's managed gateway.
  • Policy expressions support a subset of C#. An expression outside it fails with a message saying so.
  • Semantic caching never matches and llm-content-safety lets everything through.
  • Workspace policies and policyRestrictions are stored but not applied.

Service

  • Backup, network configuration updates, the stv2 migration, hostname refresh and the connectivity check aren't supported.
  • Custom domains (hostnameConfigurations) can be set, but the gateway is only served on its switchboard.locally host names at this time.
  • The management and SCM hosts answer HTTP 501 Not Implemented.
  • The restore action returns 200 but restores nothing at this time. To bring back a soft-deleted service, create it again with restore set.
  • Tracing doesn't need the Apim-Debug-Authorization token, ignores a subscription's allowTracing and returns no Apim-Trace-Id header. Traces show up in the admin site's request log instead.

Service Gateways

  • Self-hosted gateways can be created, but don't run at this time.

Service Workspaces

  • Workspaces can be created and managed, but the gateway doesn't serve their APIs, products or policies at this time.

Subscriptions

  • A subscription listed under a user or a product can't be read at that path on its own at this time. Read it from the service's subscriptions instead.

Examples

Runnable examples from the examples library.

Documentation

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.