HumanMirror M2M Core Services

Three separately published contracts for the M2M core: Sanitize Shield (indirect prompt-injection quarantine with a signed Cleanliness Proof), M2M Payload Normalizer (canonical JSON + stable SHA-256 digest) and the Probabilistic Consensus Oracle (weighted log-odds validation of two contradictory agent signals). Each has a free discovery GET, three free calls per 24 hours, then 0.001 USDC via x402; all three are also inside the x402 contract.

Operations 2

GET /api/v1/sanitize/shield/ #
POST /api/v1/sanitize/shield/ Analyze and quarantine untrusted agent context #

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/m2m-core"
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

humanmirror-fr-sanitize-shield-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: HumanMirror Sanitize Shield
  version: 2.0.0
  description: 'Quarantine external context, detect indirect prompt injection and issue a signed Cleanliness Proof. Three
    test calls per 24 hours, then x402 Base/USDC. Granular unit surface: Canonical bundle: https://humanmirror.fr/api/v1/agent/security-intelligence/'
servers:
- url: https://humanmirror.fr
paths:
  /api/v1/sanitize/shield/:
    get:
      operationId: discoverSanitizeShield
      responses:
        '200':
          description: Machine-readable service discovery
      x-humanmirror-paid-price-usdc: '0.001'
      x-humanmirror-canonical-bundle: https://humanmirror.fr/api/v1/agent/security-intelligence/
      x-humanmirror-pricing-tier: granular_unit_0_001
    post:
      operationId: sanitizeShield
      summary: Analyze and quarantine untrusted agent context
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShieldRequest'
            examples:
              structured:
                value:
                  payload:
                    source: web
                    content: Release notes for version 2.0
                  context:
                    trust_level: untrusted
        responses:
          '200':
            description: Analysis completed
            content:
              application/json:
                schema:
                  $ref: '#/components/schemas/ShieldResponse'
          '400':
            description: Invalid or oversized payload
          '402':
            description: Free quota exhausted; x402 payment required
            headers:
              PAYMENT-REQUIRED:
                schema:
                  type: string
                description: Base64url x402 V2 payment requirements
          '503':
            description: Quota, proof-signing or payment service unavailable
      x-humanmirror-paid-price-usdc: '0.001'
      x-humanmirror-canonical-bundle: https://humanmirror.fr/api/v1/agent/security-intelligence/
      x-humanmirror-pricing-tier: granular_unit_0_001
  components:
    schemas:
      ShieldRequest:
        type: object
        required:
        - payload
        properties:
          payload: {}
          context:
            type: object
            additionalProperties: true
          policy:
            type: object
            properties:
              false_positive_cost:
                type: number
                minimum: 0.01
                maximum: 1000
                default: 1
              false_negative_cost:
                type: number
                minimum: 0.01
                maximum: 1000
                default: 4
              block_threshold:
                type: number
                minimum: 0.01
                maximum: 0.99
          options:
            type: object
            properties:
              return_sanitized:
                type: boolean
                default: true
      Finding:
        type: object
        required:
        - category
        - severity
        - confidence
        - path
        - offset
        - evidence_sha256
        properties:
          category:
            type: string
          severity:
            enum:
            - medium
            - high
            - critical
          confidence:
            type: number
          path:
            type: string
          offset:
            type: integer
          evidence_sha256:
            type: string
      ShieldResponse:
        type: object
        properties:
          ok:
            const: true
          status:
            const: ANALYZED
          result:
            type: object
            properties:
              verdict:
                enum:
                - CLEAN
                - REVIEW
                - QUARANTINED
              allowed:
                type: boolean
              risk_score:
                type: number
              findings:
                type: array
                items:
                  $ref: '#/components/schemas/Finding'
              sanitized_payload: {}
              cleanliness_proof:
                type: object
                properties:
                  format:
                    const: hm-clean-v1
                  algorithm:
                    const: HMAC-SHA256
                  token:
                    type: string
      x-humanmirror-pricing-tier: granular_unit_0_001
x-humanmirror-canonical-bundle: https://humanmirror.fr/api/v1/agent/security-intelligence/