Hive Civilization Compound Chains API

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

Operations 5

POST /v1/compound/chain Register Chain #
GET /v1/compound/chains List Chains #
GET /v1/compound/chain/{name_or_id} Get Chain #
POST /v1/compound/chain/{name_or_id}/run Run Chain #
GET /v1/compound/runs List 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-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:
    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
    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