Hive Civilization Distribution API

The distribution API from Hive Civilization — 5 operation(s) for distribution.

Operations 8

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/discovery/register Register capabilities for a shim · Register capabilities for a shim #
Ask an LLM
“How do I register my shim's tools and endpoint for discovery?”
“Can I include a repo and DID when registering a shim's capabilities?”
Tell an agent
Register discovery capabilities for shim {shim}.
Register shim {shim} at endpoint {endpoint} with tools {tools}.
GET /v1/discovery/register List registered shim capabilities · List registered capabilities (public) #
Ask an LLM
“Which capabilities have shims registered for discovery?”
“Can I see the discovery registration for just one shim?”
Tell an agent
List all registered discovery capabilities.
Show the discovery capabilities registered by shim {shim}.
POST /v1/gate/register Register a per-ecosystem gate manifest · Register a per-ecosystem gate manifest #
Ask an LLM
“How do I publish a gate manifest for my shim in a specific ecosystem?”
“Can I attach a manifest body when registering a gate?”
Tell an agent
Register a gate for shim {shim} in ecosystem {ecosystem}.
Register gate manifest {manifest} for shim {shim} in {ecosystem}.
GET /v1/gate/register List gate manifests by ecosystem · List gate manifests grouped by ecosystem (public) #
Ask an LLM
“What gate manifests are registered, grouped by ecosystem?”
“Can I filter the gate manifests to a single ecosystem?”
Tell an agent
List gate manifests grouped by ecosystem.
Show gate manifests for ecosystem {ecosystem}.
POST /v1/marketplace/list List a shim's tools in the marketplace · List tools in the agent marketplace #
Ask an LLM
“How do I put my shim's tools up in the agent marketplace?”
“Can I publish a set of tools to the marketplace under my shim name?”
Tell an agent
Publish shim {shim}'s tools to the marketplace.
Add tools {tools} to the marketplace for shim {shim}.
GET /v1/marketplace/list Browse marketplace listings · Marketplace listings (public) #
Ask an LLM
“What tools are listed in the agent marketplace right now?”
“Can I browse marketplace listings for one shim only?”
Tell an agent
Browse the public marketplace listings.
Show marketplace listings for shim {shim}.
POST /v1/pulse/event Record a pulse event · Append a pulse event to the ring buffer #
Ask an LLM
“How do I append an event to the pulse ring buffer?”
“Can a shim attach a payload to a pulse event?”
Tell an agent
Record pulse event {event}.
Append pulse event {event} from shim {shim} with payload {payload}.
GET /v1/pulse/events Read recent pulse events · Read recent pulse events (public) #
Ask an LLM
“What pulse events happened in the last few minutes?”
“Can I filter recent pulse events by event name or shim, up to 500?”
Tell an agent
Show pulse events from the last {since_minutes} minutes.
Read up to {limit} {event} pulse events from shim {shim}.

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-distribution-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-distribution-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 Distribution API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: Distribution
paths:
  /v1/discovery/register:
    post:
      tags:
      - Distribution
      summary: Register capabilities for a shim
      operationId: discovery_register_v1_discovery_register_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DiscoveryRegisterRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Distribution
      summary: List registered capabilities (public)
      operationId: discovery_list_v1_discovery_register_get
      parameters:
      - name: shim
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter to a single shim.
          title: Shim
        description: Filter to a single shim.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/gate/register:
    post:
      tags:
      - Distribution
      summary: Register a per-ecosystem gate manifest
      operationId: gate_register_v1_gate_register_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GateRegisterRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Distribution
      summary: List gate manifests grouped by ecosystem (public)
      operationId: gate_list_v1_gate_register_get
      parameters:
      - name: ecosystem
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter to a single ecosystem.
          title: Ecosystem
        description: Filter to a single ecosystem.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/marketplace/list:
    post:
      tags:
      - Distribution
      summary: List tools in the agent marketplace
      operationId: marketplace_list_tools_v1_marketplace_list_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MarketplaceListRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Distribution
      summary: Marketplace listings (public)
      operationId: marketplace_get_v1_marketplace_list_get
      parameters:
      - name: shim
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter to a single shim.
          title: Shim
        description: Filter to a single shim.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/pulse/event:
    post:
      tags:
      - Distribution
      summary: Append a pulse event to the ring buffer
      operationId: pulse_event_v1_pulse_event_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PulseEventRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/pulse/events:
    get:
      tags:
      - Distribution
      summary: Read recent pulse events (public)
      operationId: pulse_events_v1_pulse_events_get
      parameters:
      - name: event
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by event name.
          title: Event
        description: Filter by event name.
      - name: shim
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by shim.
          title: Shim
        description: Filter by shim.
      - name: since_minutes
        in: query
        required: false
        schema:
          anyOf:
          - type: number
            minimum: 0
          - type: 'null'
          description: Only events within the last N minutes.
          title: Since Minutes
        description: Only events within the last N minutes.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          description: Max events to return (cap 500).
          default: 100
          title: Limit
        description: Max events to return (cap 500).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DiscoveryRegisterRequest:
      properties:
        shim:
          type: string
          minLength: 1
          title: Shim
        repo:
          type: string
          title: Repo
          default: ''
        endpoint:
          type: string
          title: Endpoint
          default: ''
        did:
          type: string
          title: Did
          default: ''
        tools:
          items:
            $ref: '#/components/schemas/ToolSpec'
          type: array
          title: Tools
      type: object
      required:
      - shim
      title: DiscoveryRegisterRequest
    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
    PulseEventRequest:
      properties:
        event:
          type: string
          title: Event
        shim:
          type: string
          title: Shim
          default: ''
        payload:
          additionalProperties: true
          type: object
          title: Payload
      type: object
      required:
      - event
      title: PulseEventRequest
    GateRegisterRequest:
      properties:
        shim:
          type: string
          minLength: 1
          title: Shim
        repo:
          type: string
          title: Repo
          default: ''
        ecosystem:
          type: string
          minLength: 1
          title: Ecosystem
        manifest:
          additionalProperties: true
          type: object
          title: Manifest
      type: object
      required:
      - shim
      - ecosystem
      title: GateRegisterRequest
    MarketplaceListRequest:
      properties:
        shim:
          type: string
          minLength: 1
          title: Shim
        tools:
          items:
            $ref: '#/components/schemas/MarketplaceTool'
          type: array
          title: Tools
      type: object
      required:
      - shim
      title: MarketplaceListRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ToolSpec:
      properties:
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
          default: ''
        input_schema:
          additionalProperties: true
          type: object
          title: Input Schema
        tags:
          items:
            type: string
          type: array
          title: Tags
        trust_score:
          anyOf:
          - type: number
          - type: 'null'
          title: Trust Score
      type: object
      required:
      - name
      title: ToolSpec
    MarketplaceTool:
      properties:
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
          default: ''
        pricing_usd:
          type: number
          title: Pricing Usd
          default: 0.0
        sample_request:
          additionalProperties: true
          type: object
          title: Sample Request
      type: object
      required:
      - name
      title: MarketplaceTool
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)