Dev Proxy Proxy API

The Proxy API from Dev Proxy — 4 operation(s) for proxy.

Operations 5

GET /proxy Get Dev Proxy state #
POST /proxy Control Dev Proxy #
POST /proxy/mockrequest Raise a mock request #
GET /proxy/rootCertificate Download Dev Proxy root certificate (PEM) #
POST /proxy/stopproxy Gracefully shut down Dev Proxy #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/dev-proxy-proxy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

dev-proxy-proxy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Dev — JWT Proxy API
  description: 'Dev Proxy is a Microsoft command-line API simulator. While running, it exposes a

    local HTTP control API on a port configured in the proxy settings (default 8897)

    so callers can inspect proxy state, toggle recording, generate JWTs, raise mock

    requests, fetch the root certificate, and shut the proxy down programmatically.

    '
  version: 1.0.0
  contact:
    name: Microsoft Dev Proxy
    url: https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/
servers:
- url: http://localhost:8897
  description: Local Dev Proxy control plane (default port)
tags:
- name: Proxy
paths:
  /proxy:
    get:
      summary: Get Dev Proxy state
      description: Returns information about the currently running Dev Proxy instance.
      operationId: getProxyInfo
      tags:
      - Proxy
      responses:
        '200':
          description: Proxy info
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProxyInfo'
    post:
      summary: Control Dev Proxy
      description: Start or stop request recording.
      operationId: setProxyState
      tags:
      - Proxy
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                recording:
                  type: boolean
      responses:
        '200':
          description: Updated proxy info
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProxyInfo'
  /proxy/mockrequest:
    post:
      summary: Raise a mock request
      description: Equivalent of pressing `w` in the Dev Proxy console.
      operationId: raiseMockRequest
      tags:
      - Proxy
      responses:
        '202':
          description: Mock request accepted
  /proxy/rootCertificate:
    get:
      summary: Download Dev Proxy root certificate (PEM)
      operationId: getRootCertificate
      tags:
      - Proxy
      parameters:
      - name: format
        in: query
        required: true
        schema:
          type: string
          enum:
          - crt
      responses:
        '200':
          description: PEM-encoded root certificate
          content:
            application/x-x509-ca-cert:
              schema:
                type: string
        '400':
          description: Unsupported format
  /proxy/stopproxy:
    post:
      summary: Gracefully shut down Dev Proxy
      operationId: stopProxy
      tags:
      - Proxy
      responses:
        '202':
          description: Shutdown accepted
components:
  schemas:
    ProxyInfo:
      type: object
      properties:
        recording:
          type: boolean
          description: Whether the proxy is currently recording requests
        configFile:
          type: string
          description: Path to the configuration file (read-only)