Hive Civilization A2a API

The a2a API from Hive Civilization — 9 operation(s) for a2a.

Operations 10

GET /.well-known/agent-card.json A2A v0.2 top-level Agent Card catalog #
GET /.well-known/agents/{agent_id}/card.json A2A v0.2 per-agent card #
GET /v1/a2a/cards List published A2A Agent Cards #
GET /v1/a2a/cards/{agent_id} Get a single A2A Agent Card #
POST /v1/a2a/harness:run-loop Run HARNESS internal agent loop #
GET /v1/a2a/agents List published A2A Agent Cards (agents alias) #
GET /v1/a2a/agents/{agent_id} Get a single A2A Agent Card (agents alias) #
GET /v1/a2a/handshake A2A v0.2 handshake — GET returns schema, POST executes #
POST /v1/a2a/handshake Initiate an A2A handshake with Hive Civilization #
GET /v1/attestation/status Hive attestation system status #

Documentation

Specifications

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/thehiveryiq-com-a2a-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

thehiveryiq-com-a2a-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 A2a API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: a2a
paths:
  /.well-known/agent-card.json:
    get:
      tags:
      - a2a
      summary: A2A v0.2 top-level Agent Card catalog
      description: Returns all 5 published Hive Agent Cards in a single A2A v0.2 catalog payload. This is the well-known discovery URL crawled by Azure AI Foundry, AWS Bedrock Agents, Google Cloud, and Agentverse-style A2A registries.
      operationId: well_known_catalog__well_known_agent_card_json_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /.well-known/agents/{agent_id}/card.json:
    get:
      tags:
      - a2a
      summary: A2A v0.2 per-agent card
      description: Per-agent A2A v0.2 Agent Card by agent_id. Returns 404 if the agent_id is not registered in Hive's A2A directory.
      operationId: well_known_agent_card__well_known_agents__agent_id__card_json_get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/a2a/cards:
    get:
      tags:
      - a2a
      summary: List published A2A Agent Cards
      description: Convenience endpoint mirroring /.well-known/agent-card.json. Always free (discovery).
      operationId: list_cards_v1_a2a_cards_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/a2a/cards/{agent_id}:
    get:
      tags:
      - a2a
      summary: Get a single A2A Agent Card
      description: Convenience alias for /.well-known/agents/{agent_id}/card.json.
      operationId: get_card_v1_a2a_cards__agent_id__get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/a2a/harness:run-loop:
    post:
      tags:
      - a2a
      summary: Run HARNESS internal agent loop
      description: 'Executes the full internal agent loop: discovery → quote → emit → verify → stats. All steps use x-hive-source: HARNESS so traffic is counted under harness_calls, not calls_paid. Revenue counters are never touched by harness traffic. Returns a combined 5-step report.'
      operationId: harness_run_loop_v1_a2a_harness_run_loop_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/a2a/agents:
    get:
      tags:
      - a2a
      summary: List published A2A Agent Cards (agents alias)
      description: Alias for /v1/a2a/cards. Returns the same payload. Resolves the /v1/a2a/agents path that agents expect.
      operationId: list_agents_v1_a2a_agents_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/a2a/agents/{agent_id}:
    get:
      tags:
      - a2a
      summary: Get a single A2A Agent Card (agents alias)
      description: Alias for /v1/a2a/cards/{agent_id}.
      operationId: get_agent_v1_a2a_agents__agent_id__get
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/a2a/handshake:
    get:
      tags:
      - a2a
      summary: A2A v0.2 handshake — GET returns schema, POST executes
      description: 'Free schema hint endpoint. POST the same path to execute a real handshake.

        See https://receipts.thehiveryiq.com/.well-known/agent-card.json for the full agent card.'
      operationId: a2a_handshake_schema_v1_a2a_handshake_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response A2A Handshake Schema V1 A2A Handshake Get
    post:
      tags:
      - a2a
      summary: Initiate an A2A handshake with Hive Civilization
      description: Establishes an A2A v0.2 session. Returns the agreed protocol version, supported transports, the canonical Agent Card URL, x402 payment posture, and a session_id. No persistent state is created — the session_id is a 128-bit nonce the caller can include in subsequent JSON-RPC calls for correlation. Always free (discovery-class endpoint).
      operationId: a2a_handshake_v1_a2a_handshake_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandshakeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/attestation/status:
    get:
      tags:
      - a2a
      summary: Hive attestation system status
      description: 'Returns a single-read summary of the attestation surface: key material present, attestation routers loaded, family availability (passport / custody / cargo / warranty / sanctions), and current pricing tier. Always free (health-class endpoint).'
      operationId: attestation_status_v1_attestation_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
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
    HandshakeRequest:
      properties:
        agent_did:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Did
          description: DID of the calling agent (optional but recommended for trust scoring).
        agent_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Agent Name
          description: Human-readable name of the calling agent.
        protocol_versions:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Protocol Versions
          description: List of A2A protocol versions the caller supports (e.g. ['0.2', '0.1']).
        capabilities_requested:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Capabilities Requested
          description: Capability tags the caller intends to use (e.g. ['receipt-emit', 'attest']).
        nonce:
          anyOf:
          - type: string
          - type: 'null'
          title: Nonce
          description: Caller-supplied nonce, echoed back. If omitted, server generates one.
      type: object
      title: HandshakeRequest
      description: A2A handshake initiation envelope.