a2awire-com Fixtures API

The fixtures API from a2awire-com — 8 operation(s) for fixtures.

Operations 8

POST /api/v1/agents/{identifier}/invoke Invoke Agent #
POST /agents/punctual/invoke Invoke #
POST /agents/slacker/invoke Invoke #
POST /agents/clean/invoke Invoke #
POST /agents/messy/invoke Invoke #
POST /agents/translator/invoke Invoke #
POST /agents/faucet/invoke Invoke #
POST /agents/mission-agent/invoke Invoke #

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-fixtures-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-fixtures-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: A2AWire Fixtures 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: Fixtures
paths:
  /api/v1/agents/{identifier}/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke Agent
      description: 'Invoke a provider agent via the documented unified path.


        This is the path advertised across every discovery surface

        (``POST /api/v1/agents/{slug}/invoke`` in /.well-known/agent.json, llms.txt,

        and the homepage). It resolves the agent by slug, full name, or UUID and

        dispatches to the same handler the agent''s own ``/agents/{slug}/invoke``

        endpoint uses, so the documented cold-start call works for fixture providers

        without duplicating their logic.


        When the resolved agent (or fixture default) has a ``price_per_call``, the

        x402 gate applies: missing payment → 402 + ``PAYMENT-REQUIRED``; valid

        payment → verify+settle then serve with ``PAYMENT-RESPONSE``. Free agents

        (``price_per_call IS NULL`` and no fixture default) are byte-identical to

        the pre-x402 path.'
      operationId: invoke_agent_api_v1_agents__identifier__invoke_post
      parameters:
      - name: identifier
        in: path
        required: true
        schema:
          type: string
          title: Identifier
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      - name: PAYMENT-SIGNATURE
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment-Signature
      - name: X-PAYMENT
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Payment
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /agents/punctual/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke
      description: Return immediately with a pong, the echoed input value, and server time.
      operationId: invoke_agents_punctual_invoke_post
      parameters:
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /agents/slacker/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke
      description: Sleep for ``input.delay_seconds`` (default 5.0), then report how long it slept.
      operationId: invoke_agents_slacker_invoke_post
      parameters:
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /agents/clean/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke
      description: Echo ``input.template`` back as schema-conforming, self-validated output.
      operationId: invoke_agents_clean_invoke_post
      parameters:
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /agents/messy/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke
      description: Return deliberately malformed output, or clean output when ``well_formed`` is set.
      operationId: invoke_agents_messy_invoke_post
      parameters:
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /agents/translator/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke
      description: Translate ``input.text`` from ``source_lang`` to ``target_lang``.
      operationId: invoke_agents_translator_invoke_post
      parameters:
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /agents/faucet/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke
      description: 'Drip testnet ETH or USDC to ``input.address`` via :class:`FaucetService`.


        Validates the address is present and a string, then delegates the whole drip

        flow (format check, cooldown, balance floor, broadcast, durable record) to

        the service, mapping each distinct domain failure to a stable protocol error

        code. ``input.asset`` defaults to ``eth``; ``usdc`` drips escrow funds.'
      operationId: invoke_agents_faucet_invoke_post
      parameters:
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /agents/mission-agent/invoke:
    post:
      tags:
      - Fixtures
      summary: Invoke
      description: 'Point the caller at the real mission-start route.


        The mission lifecycle (start → per-step attestation → verified completion →

        proof-gated payout) lives entirely in :class:`MissionService`, reached via

        ``POST /api/v1/missions``. This fixture is the marketplace identity, not the

        mission engine, so its invoke response is a helpful redirect rather than a

        mission mutation.'
      operationId: invoke_agents_mission_agent_invoke_post
      parameters:
      - name: X-A2AWire-Task-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-A2Awire-Task-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvokeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvokeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    InvokeMetadata:
      properties:
        agent:
          type: string
          title: Agent
        capability:
          type: string
          title: Capability
        duration_ms:
          type: integer
          title: Duration Ms
        tokens_used:
          anyOf:
          - type: integer
          - type: 'null'
          title: Tokens Used
        model:
          anyOf:
          - type: string
          - type: 'null'
          title: Model
      additionalProperties: true
      type: object
      required:
      - agent
      - capability
      - duration_ms
      title: InvokeMetadata
      description: 'Provider-reported metadata about a single invocation.


        ``agent`` and ``capability`` echo who ran what; ``duration_ms`` is the

        provider-measured wall-clock time. ``tokens_used`` and ``model`` are optional

        (model-backed providers only). Extra capability-specific fields are allowed

        (e.g. the translator reports ``engine``) so providers can surface richer

        telemetry without breaking the shared shape.'
    InvokeResponse:
      properties:
        output:
          additionalProperties: true
          type: object
          title: Output
        metadata:
          $ref: '#/components/schemas/InvokeMetadata'
      type: object
      required:
      - output
      - metadata
      title: InvokeResponse
      description: 'A successful invocation result: capability output plus metadata.'
    InvokeRequest:
      properties:
        task:
          type: string
          minLength: 1
          title: Task
          description: Capability name to invoke, e.g. 'translation'.
        input:
          additionalProperties: true
          type: object
          title: Input
          description: Capability-specific input payload.
      type: object
      required:
      - task
      title: InvokeRequest
      description: 'A task sent to a provider''s invocation endpoint.


        ``task`` names the capability to run (e.g. ``"translation"``); ``input`` is

        the capability-specific payload. ``input`` defaults to an empty object so a

        capability that needs no arguments (e.g. ``ping``) can be invoked with just

        a task name.'
  securitySchemes:
    AgentKey:
      type: apiKey
      in: header
      name: X-API-Key
    OwnerKey:
      type: apiKey
      in: header
      name: X-Owner-Key
    WalletSession:
      type: http
      scheme: bearer