Hive Civilization R6 Hivememory API

The r6-hivememory API from Hive Civilization — 6 operation(s) for r6-hivememory.

Operations 6

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/memory/policy Get the agent memory policy · Memory Policy #
Ask an LLM
“What rules govern what agents can store in HiveMemory?”
“Which memory kinds and scopes does the policy allow?”
Tell an agent
Show me the HiveMemory policy.
Get the rules for agent memory.
POST /v1/memory/write Store a memory for an agent · Memory Write #
Ask an LLM
“How do I save a memory record for my agent with provenance?”
“Can a memory have tags, a scope and an expiry date?”
Tell an agent
Write a {kind} memory for agent {agent_did} under operator {operator_did}.
Store {payload} as a {kind} memory for {agent_did}, operator {operator_did}, expiring {expires_at}.
GET /v1/memory/list List agent memories · Memory List #
Ask an LLM
“What memories has an agent stored, filtered by kind or scope?”
“Can I include revoked memories when listing?”
Tell an agent
List memories for agent {agent_did}.
List {kind} memories in scope {scope}.
POST /v1/memory/revoke/{mid} Revoke an agent memory · Memory Revoke #
Ask an LLM
“How do I revoke a memory so the agent stops using it?”
“Can a stored memory be withdrawn after it's written?”
Tell an agent destructive · confirm first
Revoke memory {mid}.
Withdraw agent memory {mid}.
GET /v1/memory/export/{agent_did} Export all of an agent's memories · Memory Export #
Ask an LLM
“Can I export everything an agent remembers in one go?”
“Does the memory export include revoked entries?”
Tell an agent
Export memories for agent {agent_did}.
Export {agent_did}'s memories in scope {scope}, revoked ones included.
GET /v1/memory/{mid} Get one agent memory · Memory Get #
Ask an LLM
“What does a specific stored memory contain?”
“Can I fetch a single memory by its ID?”
Tell an agent
Show memory {mid}.
Get the memory record {mid}.

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-r6-hivememory-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-r6-hivememory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 R6 Hivememory API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: r6-hivememory
paths:
  /v1/memory/policy:
    get:
      tags:
      - r6-hivememory
      summary: Memory Policy
      operationId: memory_policy_v1_memory_policy_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/memory/write:
    post:
      tags:
      - r6-hivememory
      summary: Memory Write
      operationId: memory_write_v1_memory_write_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/hivemorph__hive_r6__routes__WriteReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/memory/list:
    get:
      tags:
      - r6-hivememory
      summary: Memory List
      operationId: memory_list_v1_memory_list_get
      parameters:
      - name: agent_did
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Agent Did
      - name: kind
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Kind
      - name: scope
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Scope
      - name: include_revoked
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Revoked
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/memory/revoke/{mid}:
    post:
      tags:
      - r6-hivememory
      summary: Memory Revoke
      operationId: memory_revoke_v1_memory_revoke__mid__post
      parameters:
      - name: mid
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Mid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/memory/export/{agent_did}:
    get:
      tags:
      - r6-hivememory
      summary: Memory Export
      operationId: memory_export_v1_memory_export__agent_did__get
      parameters:
      - name: agent_did
        in: path
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 200
          title: Agent Did
      - name: include_revoked
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Revoked
      - name: scope
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Scope
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/memory/{mid}:
    get:
      tags:
      - r6-hivememory
      summary: Memory Get
      operationId: memory_get_v1_memory__mid__get
      parameters:
      - name: mid
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Mid
      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
    hivemorph__hive_r6__routes__WriteReq:
      properties:
        agent_did:
          type: string
          maxLength: 200
          minLength: 3
          title: Agent Did
        operator_did:
          type: string
          maxLength: 200
          minLength: 3
          title: Operator Did
        kind:
          type: string
          maxLength: 40
          minLength: 1
          title: Kind
        scope:
          type: string
          maxLength: 40
          minLength: 1
          title: Scope
          default: operator
        payload:
          additionalProperties: true
          type: object
          title: Payload
        tags:
          items:
            type: string
          type: array
          maxItems: 64
          title: Tags
        hktn_refs:
          items:
            type: string
          type: array
          maxItems: 64
          title: Hktn Refs
        provenance:
          additionalProperties: true
          type: object
          title: Provenance
        expires_at:
          anyOf:
          - type: integer
            minimum: 0.0
          - type: 'null'
          title: Expires At
      type: object
      required:
      - agent_did
      - operator_did
      - kind
      title: WriteReq
    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)