Hive Civilization Echo API

The echo API from Hive Civilization — 2 operation(s) for echo.

Operations 2

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/xcalibur/echo/v2/compress Compress a prompt while preserving meaning · Compress #
Ask an LLM
“How can I shrink a long prompt to cut tokens without losing what matters?”
“Can I target a specific compression ratio and minimum preservation score?”
Tell an agent
Compress this prompt: {prompt}.
Compress {prompt} to {target_ratio} of its length for the task {task_query}.
GET /v1/xcalibur/echo/v2/health Check ECHO compressor health · Health #
Ask an LLM
“Is the ECHO prompt compressor available?”
“How do I health-check ECHO v2?”
Tell an agent
Check ECHO health.
Ping the prompt compression service.

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-echo-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-echo-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 Echo API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: echo
paths:
  /v1/xcalibur/echo/v2/compress:
    post:
      tags:
      - echo
      summary: Compress
      operationId: compress_v1_xcalibur_echo_v2_compress_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompressV2Request'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Compress V1 Xcalibur Echo V2 Compress Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/xcalibur/echo/v2/health:
    get:
      tags:
      - echo
      summary: Health
      operationId: health_v1_xcalibur_echo_v2_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Health V1 Xcalibur Echo V2 Health Get
components:
  schemas:
    CompressV2Request:
      properties:
        prompt:
          type: string
          minLength: 1
          title: Prompt
        task_query:
          anyOf:
          - type: string
          - type: 'null'
          title: Task Query
          description: Output-conditioned hint, e.g. 'Summarize this report.' Defaults to a generic summarize prompt if omitted.
        target_ratio:
          type: number
          exclusiveMaximum: 1.0
          exclusiveMinimum: 0.0
          title: Target Ratio
          description: Compressed length ≤ target_ratio × original (0.5 = 2x compression).
          default: 0.5
        min_preservation:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Min Preservation
          description: Reject candidates scoring below this oracle threshold; the selector picks best regardless and flags if below.
          default: 0.0
      type: object
      required:
      - prompt
      title: CompressV2Request
    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
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)