Hive Civilization R9 Accumulators API

The r9-accumulators API from Hive Civilization — 8 operation(s) for r9-accumulators.

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

GET /v1/accumulator/policy Get the accumulator policy · Accumulator Policy #
Ask an LLM
“What rules govern the cryptographic accumulators?”
“Where is the accumulator anchoring policy published?”
Tell an agent
Show the accumulator policy.
Get the rules for anchoring into accumulators.
POST /v1/accumulator/anchor Anchor a key into an accumulator · Accumulator Anchor #
Ask an LLM
“How do I add a key and value to an accumulator domain?”
“Can I attach a note to an anchored entry?”
Tell an agent
Anchor key {key} in domain {domain} as {anchored_by}.
Add {key} with value {value} to accumulator {domain}, anchored by {anchored_by}.
GET /v1/accumulator/{domain}/root Get an accumulator's current root · Accumulator Root #
Ask an LLM
“What is the current root of an accumulator domain?”
“Can I fetch the latest commitment for a domain?”
Tell an agent
Get the root of accumulator {domain}.
Show the current commitment for domain {domain}.
GET /v1/accumulator/{domain}/leaves List an accumulator's leaves · Accumulator Leaves #
Ask an LLM
“Which entries have been anchored into a domain?”
“Can I page through the leaves of an accumulator?”
Tell an agent
List leaves in accumulator {domain}.
Show {limit} leaves of {domain} starting at {offset}.
GET /v1/accumulator/{domain}/replay Replay an accumulator's history · Accumulator Replay #
Ask an LLM
“Can I replay a domain's accumulator from the start to confirm its root?”
“Is there a way to recompute an accumulator's history?”
Tell an agent
Replay accumulator {domain}.
Recompute the history of domain {domain}.
GET /v1/accumulator/{domain}/inclusion Get an inclusion witness for a key · Accumulator Inclusion #
Ask an LLM
“Can I get proof that a key is in an accumulator?”
“What witness shows a key is a member of a domain?”
Tell an agent
Get an inclusion witness for {key} in {domain}.
Prove {key} is included in accumulator {domain}.
GET /v1/accumulator/{domain}/non-membership Prove a key is absent from an accumulator · Accumulator Non Membership #
Ask an LLM
“Can I prove a key has never been anchored in a domain?”
“Is there a non-membership proof for accumulators?”
Tell an agent
Prove {key} is not in accumulator {domain}.
Get a non-membership proof for {key} in {domain}.
POST /v1/accumulator/verify Verify an accumulator inclusion witness · Accumulator Verify #
Ask an LLM
“Is an inclusion witness I was given actually valid?”
“Can I check a witness returned by the inclusion endpoint?”
Tell an agent
Verify inclusion witness {witness}.
Check that witness {witness} holds against its accumulator.

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-r9-accumulators-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-r9-accumulators-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 R9 Accumulators API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: r9-accumulators
paths:
  /v1/accumulator/policy:
    get:
      tags:
      - r9-accumulators
      summary: Accumulator Policy
      operationId: accumulator_policy_v1_accumulator_policy_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/accumulator/anchor:
    post:
      tags:
      - r9-accumulators
      summary: Accumulator Anchor
      operationId: accumulator_anchor_v1_accumulator_anchor_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnchorReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/accumulator/{domain}/root:
    get:
      tags:
      - r9-accumulators
      summary: Accumulator Root
      operationId: accumulator_root_v1_accumulator__domain__root_get
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Domain
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/accumulator/{domain}/leaves:
    get:
      tags:
      - r9-accumulators
      summary: Accumulator Leaves
      operationId: accumulator_leaves_v1_accumulator__domain__leaves_get
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Domain
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/accumulator/{domain}/replay:
    get:
      tags:
      - r9-accumulators
      summary: Accumulator Replay
      operationId: accumulator_replay_v1_accumulator__domain__replay_get
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Domain
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/accumulator/{domain}/inclusion:
    get:
      tags:
      - r9-accumulators
      summary: Accumulator Inclusion
      operationId: accumulator_inclusion_v1_accumulator__domain__inclusion_get
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Domain
      - name: key
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 256
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/accumulator/{domain}/non-membership:
    get:
      tags:
      - r9-accumulators
      summary: Accumulator Non Membership
      operationId: accumulator_non_membership_v1_accumulator__domain__non_membership_get
      parameters:
      - name: domain
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Domain
      - name: key
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 256
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/accumulator/verify:
    post:
      tags:
      - r9-accumulators
      summary: Accumulator Verify
      operationId: accumulator_verify_v1_accumulator_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/hivemorph__hive_r9__routes__VerifyReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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
    AnchorReq:
      properties:
        domain:
          type: string
          maxLength: 64
          minLength: 1
          title: Domain
        key:
          type: string
          maxLength: 256
          minLength: 1
          title: Key
        value:
          additionalProperties: true
          type: object
          title: Value
        anchored_by:
          type: string
          maxLength: 200
          minLength: 3
          title: Anchored By
        note:
          anyOf:
          - type: string
            maxLength: 512
          - type: 'null'
          title: Note
      type: object
      required:
      - domain
      - key
      - anchored_by
      title: AnchorReq
    hivemorph__hive_r9__routes__VerifyReq:
      properties:
        witness:
          additionalProperties: true
          type: object
          title: Witness
          description: An inclusion witness as returned by /inclusion
      type: object
      required:
      - witness
      title: VerifyReq
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)