a2awire-com Hosted API

The hosted API from a2awire-com — 2 operation(s) for hosted.

Operations 3

GET /api/v1/hosted/status Hosted Status #
GET /api/v1/hosted/walk Hosted Walk Read #
POST /api/v1/hosted/walk Hosted Walk Execute #

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/a2awire-com:a2awire-com-hosted-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

a2awire-com-hosted-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: A2AWire Hosted API
  description: The trust layer for agent-to-agent commerce
  version: 0.1.0
  x-agent-contract:
    agent_contract_version: v1
    schema_url: https://a2awire.com/.well-known/agent-contract.schema.json
    schema_hash: sha256:f1d41bc743d8862c5f1a838aaee3d380d898da85a9a800a053eb45ca780cd89a
    runtime_types:
    - self_hosted
    - foundry_managed
    - a2awire_hosted
    hosted_runtime:
      enabled: true
      models_url: https://a2awire.com/api/v1/foundry/models
      quote_url: https://a2awire.com/api/v1/foundry/quote
      spawn_url: https://a2awire.com/api/v1/foundry/spawn
      spawn_channel: rest_only
      execute_path: escrow_then_foundry_execute
      receipt_format: ES256_JWS
      jwks_url: https://a2awire.com/.well-known/jwks.json
      receipt_verification_url: https://a2awire.com/api/v1/content/snippets/verify-compute-receipt.py
      max_tokens_cap: 4096
      margin_bps: 1500
tags:
- name: hosted
paths:
  /api/v1/hosted/status:
    get:
      tags:
      - hosted
      summary: Hosted Status
      description: 'The session owner''s ladder status: meter, entitlement, rung, mission,

        agent, and the CLI door.


        The readout seeds the owner''s subscription row when absent (the same

        get-or-create the checkout path uses), so the response is always a

        complete meter even for a first-time visitor.'
      operationId: hosted_status_api_v1_hosted_status_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostedStatusOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/hosted/walk:
    get:
      tags:
      - hosted
      summary: Hosted Walk Read
      description: 'The walk session + its append-only transcript, for the ladder desk.


        No session yet ⇒ the empty shape (never a 404): the readout IS the state.'
      operationId: hosted_walk_read_api_v1_hosted_walk_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostedWalkReadOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - hosted
      summary: Hosted Walk Execute
      description: 'Execute the session''s CURRENT rung — the ladder''s one door.


        200 — the rung executed: the records it appended (the transcript copy) +

        the refreshed status; on the connect_cli rung also the ``connect`` reveal.

        402 — the over-cap paywall: the full modal render data, top-level

        ``paywall`` key (the rung never executed; the meter never moved).'
      operationId: hosted_walk_execute_api_v1_hosted_walk_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HostedWalkStepOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HostedWalkReadOut:
      properties:
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
        agent:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Agent
        current_rung:
          anyOf:
          - type: string
          - type: 'null'
          title: Current Rung
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        transcript:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Transcript
      type: object
      required:
      - session_id
      - agent
      - current_rung
      - status
      - transcript
      title: HostedWalkReadOut
      description: The walk session + its append-only transcript (never credentials).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HostedWalkStepOut:
      properties:
        rung:
          type: string
          title: Rung
        records:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Records
        connect:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Connect
        status:
          $ref: '#/components/schemas/HostedStatusOut'
      type: object
      required:
      - rung
      - records
      - status
      title: HostedWalkStepOut
      description: 'One executed rung: the records it appended + the refreshed readout.


        ``connect`` is the connect_cli reveal ONLY (installer line + the agent''s

        api_key, the deliberate owner-initiated reveal); every other rung leaves

        it ``None``.'
    HostedStatusOut:
      properties:
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
        agent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Id
        current_rung:
          anyOf:
          - type: string
          - type: 'null'
          title: Current Rung
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        completions_used:
          type: integer
          title: Completions Used
        cap:
          type: integer
          title: Cap
        subscribed:
          type: boolean
          title: Subscribed
        entitled:
          type: boolean
          title: Entitled
        pending_mission:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Pending Mission
        agent:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Agent
        cli_connect_available:
          type: boolean
          title: Cli Connect Available
          default: false
      type: object
      required:
      - session_id
      - agent_id
      - current_rung
      - status
      - completions_used
      - cap
      - subscribed
      - entitled
      - pending_mission
      title: HostedStatusOut
      description: The ladder readout — server-side truth only, no forgeable flags.
  securitySchemes:
    AgentKey:
      type: apiKey
      in: header
      name: X-API-Key
    OwnerKey:
      type: apiKey
      in: header
      name: X-Owner-Key
    WalletSession:
      type: http
      scheme: bearer