Hive Civilization Ops API

The ops API from Hive Civilization — 6 operation(s) for ops.

Operations 6

GET /v1/ops/health Ops Health #
GET /v1/ops/revenue Ops Revenue #
GET /v1/ops/calls Ops Calls #
GET /v1/ops/deploys Ops Deploys #
GET /v1/ops/traffic Ops Traffic Public #
GET /v1/ops/full Ops Traffic Full #

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-ops-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-ops-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 Ops API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: ops
paths:
  /v1/ops/health:
    get:
      tags:
      - ops
      summary: Ops Health
      description: 'Aggregate health of every registered endpoint prefix.

        Uses the OpsMetricsMiddleware ring buffer for p50/p95/error-rate.

        Also introspects app.routes for route_count per prefix.'
      operationId: ops_health_v1_ops_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Ops Health V1 Ops Health Get
  /v1/ops/revenue:
    get:
      tags:
      - ops
      summary: Ops Revenue
      description: 'Revenue snapshot: Square gross + USDC-Base treasury balance.

        Uses Square API if SQUARE_ACCESS_TOKEN is set; otherwise returns cached snapshot.

        Base RPC used for on-chain USDC balance; falls back to cached snapshot on failure.'
      operationId: ops_revenue_v1_ops_revenue_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Ops Revenue V1 Ops Revenue Get
  /v1/ops/calls:
    get:
      tags:
      - ops
      summary: Ops Calls
      description: 'Rolling per-endpoint call counts — top 20 by RPM from in-memory ring buffer

        (last 60 seconds).'
      operationId: ops_calls_v1_ops_calls_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Ops Calls V1 Ops Calls Get
  /v1/ops/deploys:
    get:
      tags:
      - ops
      summary: Ops Deploys
      description: Last deploy SHA + timestamp per service from /tmp/hive_ops/deploys.json.
      operationId: ops_deploys_v1_ops_deploys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Ops Deploys V1 Ops Deploys Get
  /v1/ops/traffic:
    get:
      tags:
      - ops
      summary: Ops Traffic Public
      description: Public HUD snapshot — lean fields for the homepage tile. Cached 60s.
      operationId: ops_traffic_public_v1_ops_traffic_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Ops Traffic Public V1 Ops Traffic Get
  /v1/ops/full:
    get:
      tags:
      - ops
      summary: Ops Traffic Full
      description: Full operator view — every service, every repo, perimeter detail. Key-gated.
      operationId: ops_traffic_full_v1_ops_full_get
      parameters:
      - name: key
        in: query
        required: true
        schema:
          type: string
          description: ops key
          title: Key
        description: ops key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Ops Traffic Full V1 Ops Full 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
    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