Hive Civilization R7 Spectral API

The r7-spectral API from Hive Civilization — 7 operation(s) for r7-spectral.

Operations 7

GET /v1/spectral/policy Spectral Policy #
GET /v1/spectral/stats Spectral Stats #
POST /v1/spectral/observe Spectral Observe #
POST /v1/spectral/evaluate Spectral Evaluate #
GET /v1/spectral/{agent_did}/observations Spectral Observations #
GET /v1/spectral/{agent_did}/alerts Spectral Alerts #
GET /v1/spectral/{agent_did} Spectral Fingerprint #

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-r7-spectral-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-r7-spectral-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 R7 Spectral API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: r7-spectral
paths:
  /v1/spectral/policy:
    get:
      tags:
      - r7-spectral
      summary: Spectral Policy
      operationId: spectral_policy_v1_spectral_policy_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/spectral/stats:
    get:
      tags:
      - r7-spectral
      summary: Spectral Stats
      operationId: spectral_stats_v1_spectral_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/spectral/observe:
    post:
      tags:
      - r7-spectral
      summary: Spectral Observe
      operationId: spectral_observe_v1_spectral_observe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ObserveReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/spectral/evaluate:
    post:
      tags:
      - r7-spectral
      summary: Spectral Evaluate
      operationId: spectral_evaluate_v1_spectral_evaluate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EvaluateReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/spectral/{agent_did}/observations:
    get:
      tags:
      - r7-spectral
      summary: Spectral Observations
      operationId: spectral_observations_v1_spectral__agent_did__observations_get
      parameters:
      - name: agent_did
        in: path
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 200
          title: Agent Did
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          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/spectral/{agent_did}/alerts:
    get:
      tags:
      - r7-spectral
      summary: Spectral Alerts
      operationId: spectral_alerts_v1_spectral__agent_did__alerts_get
      parameters:
      - name: agent_did
        in: path
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 200
          title: Agent Did
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          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/spectral/{agent_did}:
    get:
      tags:
      - r7-spectral
      summary: Spectral Fingerprint
      operationId: spectral_fingerprint_v1_spectral__agent_did__get
      parameters:
      - name: agent_did
        in: path
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 200
          title: Agent Did
      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
    ObserveReq:
      properties:
        agent_did:
          type: string
          maxLength: 200
          minLength: 3
          title: Agent Did
        endpoint:
          anyOf:
          - type: string
            maxLength: 300
          - type: 'null'
          title: Endpoint
        spend_usd:
          anyOf:
          - type: number
            maximum: 1000000000.0
            minimum: 0.0
          - type: 'null'
          title: Spend Usd
        counterparty_did:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Counterparty Did
        size_bytes:
          anyOf:
          - type: integer
            maximum: 1000000000.0
            minimum: 0.0
          - type: 'null'
          title: Size Bytes
        proof_tier:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Proof Tier
        jurisdiction:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Jurisdiction
        latency_ms:
          anyOf:
          - type: number
            maximum: 600000.0
            minimum: 0.0
          - type: 'null'
          title: Latency Ms
        decision:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Decision
        context:
          additionalProperties: true
          type: object
          title: Context
      type: object
      required:
      - agent_did
      title: ObserveReq
    EvaluateReq:
      properties:
        agent_did:
          type: string
          maxLength: 200
          minLength: 3
          title: Agent Did
        endpoint:
          anyOf:
          - type: string
            maxLength: 300
          - type: 'null'
          title: Endpoint
        spend_usd:
          anyOf:
          - type: number
            maximum: 1000000000.0
            minimum: 0.0
          - type: 'null'
          title: Spend Usd
        counterparty_did:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Counterparty Did
        size_bytes:
          anyOf:
          - type: integer
            maximum: 1000000000.0
            minimum: 0.0
          - type: 'null'
          title: Size Bytes
        proof_tier:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Proof Tier
        jurisdiction:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Jurisdiction
        latency_ms:
          anyOf:
          - type: number
            maximum: 600000.0
            minimum: 0.0
          - type: 'null'
          title: Latency Ms
        persist_observation:
          type: boolean
          title: Persist Observation
          default: false
        decision:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Decision
      type: object
      required:
      - agent_did
      title: EvaluateReq