HumanMirror Agent API

The Agent API from HumanMirror — 1 operation(s) for agent.

Operations 1

POST /api/v1/agent/state-and-trust/ Sign agent state and verify exact continuity #

Documentation

Specifications

Schemas & Data

Other Resources

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/humanmirror-fr-agent-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

humanmirror-fr-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HumanMirror OS Agent API
  version: 1.0.0
  description: Machine-native Proof-of-State and exact SHA-256 state-continuity verification with scoped trust/automation signals. Paid execution uses x402 V2 with USDC on Base mainnet.
servers:
- url: https://humanmirror.fr
tags:
- name: Agent
paths:
  /api/v1/agent/state-and-trust/:
    post:
      summary: Sign agent state and verify exact continuity
      operationId: validateStateAndTrust
      description: Signs a caller-supplied SHA-256 state, compares it with an optional previous SHA-256 state hash for exact continuity, and issues a scoped trust/automation signal. This endpoint does not claim semantic-vector distance, persistent reputation history, MEV protection, or unmeasured efficiency gains.
      x-humanmirror-price-usdc: '0.050'
      x-humanmirror-protocol: x402-humanmirror-v1
      x-x402:
        version: 2
        scheme: exact
        network: eip155:8453
        asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        payTo: '0x48096526488f2D51df6bcA1B1f3A3639986cc3dD'
        amount: '50000'
        requestHeader: PAYMENT-SIGNATURE
        challengeHeader: PAYMENT-REQUIRED
        settlementHeader: PAYMENT-RESPONSE
      parameters:
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          type: string
        description: x402 v2 signed payment payload. Omit to receive an HTTP 402 challenge unless Pro/Enterprise access applies.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - agent_id
              - current_state_hash
              properties:
                agent_id:
                  type: string
                  minLength: 1
                  maxLength: 160
                  examples:
                  - agent_example
                current_state_hash:
                  type: string
                  pattern: ^(0x)?[0-9a-fA-F]{64}$
                previous_vector:
                  type: string
                  pattern: ^(0x)?[0-9a-fA-F]{64}$
              additionalProperties: false
      responses:
        '200':
          description: Signed state proof and scoped trust signal after authorized access/payment.
        '400':
          description: Invalid state input.
        '402':
          description: Payment Required — 0.050 USDC on Base mainnet.
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: Base64-encoded x402 v2 payment requirements.
        '503':
          description: x402 runtime or facilitator unavailable.
      tags:
      - Agent
externalDocs:
  description: HumanMirror Agent OS discovery manifest
  url: https://humanmirror.fr/.well-known/agent-os.json
x-humanmirror-discovery:
  agent_os: https://humanmirror.fr/.well-known/agent-os.json
  agent: https://humanmirror.fr/.well-known/agent.json
  a2a: https://humanmirror.fr/.well-known/agent-card.json
  x402: https://humanmirror.fr/.well-known/x402.json
  catalog: https://humanmirror.fr/x402/catalog.json
  mcp: https://humanmirror.fr/api/x402/mcp/
  schema: https://humanmirror.fr/schemas/agent-os-v1.json
  value_protocol: https://humanmirror.fr/.well-known/value-protocol.json