WireMock Requests API

Logged requests and responses received by the mock service

Operations 10

GET /__admin/requests Get All Requests in Journal
DELETE /__admin/requests Delete All Requests in Journal
GET /__admin/requests/{requestId} Get Request by ID
DELETE /__admin/requests/{requestId} Delete Request by ID
POST /__admin/requests/reset Empty the Request Journal
POST /__admin/requests/count Count Requests by Criteria
POST /__admin/requests/remove Remove Requests by Criteria
POST /__admin/requests/remove-by-metadata Delete Requests Matching Metadata
POST /__admin/requests/find Find Requests by Criteria
GET /__admin/requests/unmatched Find Unmatched Requests

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/wiremock-requests-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

wiremock-requests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WireMock Admin Near Misses Requests API
  description: The WireMock Admin REST API provides programmatic control over a running WireMock server instance. It supports creating, updating, and deleting stub mappings; querying the request journal; recording and replaying real API traffic; managing stateful scenarios; and performing system operations such as reset and shutdown. Available under the /__admin/ path prefix on any running WireMock instance.
  version: 2.35.0
  contact:
    name: WireMock Community
    url: https://wiremock.org/
servers:
- url: http://localhost:8080
  description: Local WireMock server instance
tags:
- name: Requests
  description: Logged requests and responses received by the mock service
  externalDocs:
    description: User documentation
    url: http://wiremock.org/docs/verifying/
paths:
  /__admin/requests:
    get:
      summary: Get All Requests in Journal
      tags:
      - Requests
      parameters:
      - description: The maximum number of results to return
        in: query
        name: limit
        example: 10
        schema:
          type: string
      - description: Only return logged requests after this date
        in: query
        name: since
        example: 2016-10-05 12:33:01+00:00
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              example:
                $ref: examples/serve-events.yaml
          description: List of received requests
    delete:
      summary: Delete All Requests in Journal
      tags:
      - Requests
      responses:
        '200':
          description: Successfully deleted
  /__admin/requests/{requestId}:
    get:
      summary: Get Request by ID
      tags:
      - Requests
      parameters:
      - description: The UUID of the logged request
        in: path
        name: requestId
        required: true
        example: 12fb14bb-600e-4bfa-bd8d-be7f12562c99
        schema:
          type: string
      responses:
        '404':
          description: Request not found
        '200':
          description: OK
          content:
            application/json:
              example:
                $ref: examples/request.yaml
    delete:
      summary: Delete Request by ID
      tags:
      - Requests
      parameters:
      - description: The UUID of the logged request
        in: path
        name: requestId
        required: true
        example: 12fb14bb-600e-4bfa-bd8d-be7f12562c99
        schema:
          type: string
      responses:
        '200':
          description: Successfully deleted
  /__admin/requests/reset:
    post:
      deprecated: true
      summary: Empty the Request Journal
      tags:
      - Requests
      responses:
        '200':
          description: Successfully reset
  /__admin/requests/count:
    post:
      summary: Count Requests by Criteria
      description: Count requests logged in the journal matching the specified criteria
      tags:
      - Requests
      requestBody:
        $ref: '#/components/requestBodies/requestPattern'
      responses:
        '200':
          description: Number of matching requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 4
  /__admin/requests/remove:
    post:
      summary: Remove Requests by Criteria
      description: Removed requests logged in the journal matching the specified criteria
      tags:
      - Requests
      requestBody:
        $ref: '#/components/requestBodies/requestPattern'
      responses:
        '200':
          description: Removed request details
          content:
            application/json:
              example:
                $ref: examples/requests.yaml
  /__admin/requests/remove-by-metadata:
    post:
      summary: Delete Requests Matching Metadata
      tags:
      - Requests
      requestBody:
        content:
          application/json:
            schema:
              $ref: schemas/content-pattern.yaml
            example:
              $ref: examples/by-metadata-request.yaml
      responses:
        '200':
          description: Removed request details
          content:
            application/json:
              example:
                $ref: examples/requests.yaml
  /__admin/requests/find:
    post:
      summary: Find Requests by Criteria
      description: Retrieve details of requests logged in the journal matching the specified criteria
      tags:
      - Requests
      requestBody:
        $ref: '#/components/requestBodies/requestPattern'
      responses:
        '200':
          description: Matching request details
          content:
            application/json:
              example:
                $ref: examples/requests.yaml
  /__admin/requests/unmatched:
    get:
      summary: Find Unmatched Requests
      description: Get details of logged requests that weren't matched by any stub mapping
      tags:
      - Requests
      responses:
        '200':
          description: Unmatched request details
          content:
            application/json:
              example:
                $ref: examples/requests.yaml
components:
  requestBodies:
    requestPattern:
      required: true
      content:
        application/json:
          schema:
            $ref: schemas/request-pattern.yaml
          example:
            $ref: examples/request-pattern.yaml
externalDocs:
  description: WireMock User Documentation
  url: https://wiremock.org/docs/