Hive Civilization Compound Chains API

The compound-chains API from Hive Civilization — 5 operation(s) for compound-chains.

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/compound/chain Register a compound chain template · Register Chain #
Ask an LLM
“How do I wire several affordance verbs into a reusable chain?”
“Can a later step reference an earlier step's receipt hash?”
Tell an agent
Register chain template {name} with steps {steps}.
Create a chain called {name} described as {description} running {steps}.
GET /v1/compound/chains List registered chain templates · List Chains #
Ask an LLM
“Which chain templates have been registered?”
“What compound chains are available to run?”
Tell an agent
List all chain templates.
Show the first {limit} registered chains.
GET /v1/compound/chain/{name_or_id} Get a chain template's steps · Get Chain #
Ask an LLM
“What steps make up a particular chain template?”
“How do I look up a chain by its name or ID?”
Tell an agent
Get chain template {name_or_id}.
Show the steps defined in chain {name_or_id}.
POST /v1/compound/chain/{name_or_id}/run Run a chain template · Run Chain #
Ask an LLM
“How do I execute every step of a chain in order?”
“Can I override parameters for individual steps when running a chain?”
Tell an agent
Run chain {name_or_id}.
Run chain {name_or_id} with step overrides {override_params}.
GET /v1/compound/runs List recent chain runs · List Runs #
Ask an LLM
“What chain runs happened recently and did they succeed?”
“Can I see run history for just one chain template?”
Tell an agent
List recent runs of chain {template_name}.
Show the last {limit} chain runs.

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:thehiveryiq-com-compound-chains-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-compound-chains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 Compound Chains API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: compound-chains
paths:
  /v1/compound/chain:
    post:
      tags:
      - compound-chains
      summary: Register Chain
      description: 'Register a chain template. Steps are affordance verbs wired in sequence.

        Template variables {{step_N.receipt_hash}} resolve at run time.'
      operationId: register_chain_v1_compound_chain_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChainTemplateBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Register Chain V1 Compound Chain Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/compound/chains:
    get:
      tags:
      - compound-chains
      summary: List Chains
      description: List all registered chain templates.
      operationId: list_chains_v1_compound_chains_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Chains V1 Compound Chains Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/compound/chain/{name_or_id}:
    get:
      tags:
      - compound-chains
      summary: Get Chain
      operationId: get_chain_v1_compound_chain__name_or_id__get
      parameters:
      - name: name_or_id
        in: path
        required: true
        schema:
          type: string
          title: Name Or Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Chain V1 Compound Chain  Name Or Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/compound/chain/{name_or_id}/run:
    post:
      tags:
      - compound-chains
      summary: Run Chain
      description: Execute all steps of a chain template sequentially.
      operationId: run_chain_v1_compound_chain__name_or_id__run_post
      parameters:
      - name: name_or_id
        in: path
        required: true
        schema:
          type: string
          title: Name Or Id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChainRunBody'
              default: {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Run Chain V1 Compound Chain  Name Or Id  Run Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/compound/runs:
    get:
      tags:
      - compound-chains
      summary: List Runs
      description: List recent chain run records.
      operationId: list_runs_v1_compound_runs_get
      parameters:
      - name: template_name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Template Name
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Runs V1 Compound Runs Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ChainRunBody:
      properties:
        override_params:
          anyOf:
          - additionalProperties:
              additionalProperties: true
              type: object
            type: object
          - type: 'null'
          title: Override Params
          description: 'Per-step param overrides keyed by step index string: {''0'': {''caller_did'': ''...''}}'
      type: object
      title: ChainRunBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ChainTemplateBody:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 1
          title: Name
        description:
          type: string
          title: Description
          default: ''
        steps:
          items:
            additionalProperties: true
            type: object
          type: array
          minItems: 1
          title: Steps
      type: object
      required:
      - name
      - steps
      title: ChainTemplateBody
    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
x-provenance:
  method: harvested
  publisher: Hive Civilization
  source: https://receipts.thehiveryiq.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)