Hive Civilization Edi API

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

Operations 7

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/edi/mcp Describe the EDI MCP server · Edi Mcp Meta #
Ask an LLM
“Is there an MCP server for wrapping receipts as EDI documents?”
“What does the EDI MCP endpoint advertise before I connect?”
Tell an agent
Show the EDI MCP server metadata.
Describe what the EDI MCP endpoint offers.
POST /v1/edi/mcp Send an MCP request to the EDI server · Edi Mcp #
Ask an LLM
“How does an agent call the EDI tools over MCP?”
“Can I send JSON-RPC MCP messages to the EDI service?”
Tell an agent
Send this MCP request to the EDI server.
Call an EDI tool through the MCP JSON-RPC endpoint.
POST /v1/edi/wrap Wrap a receipt as an EDI document · Wrap Endpoint #
Ask an LLM
“How do I turn a Hive receipt into an X12 or EDIFACT document for a trading partner?”
“Can I mark a wrapped EDI interchange as test rather than production?”
Tell an agent
Wrap receipt {receipt_id} as a {format} {document_type} from {sender_id} to {receiver_id}.
Build a {format} {document_type} test interchange ({test_indicator}) from {sender_id} to {receiver_id}.
POST /v1/edi/parse Parse an EDI payload · Parse Endpoint #
Ask an LLM
“Can I parse a raw EDI message into structured data?”
“How do I read an inbound EDI document from a partner?”
Tell an agent
Parse this {format} EDI payload: {edi_payload}.
Decode inbound EDI {edi_payload} as {format}.
GET /v1/edi/formats List supported EDI formats · Formats Endpoint #
Ask an LLM
“Which EDI formats and document types are supported?”
“Does the EDI service handle X12?”
Tell an agent
List the supported EDI formats.
Show which EDI document types I can wrap or parse.
GET /v1/edi/pricing Get EDI service pricing · Pricing Endpoint #
Ask an LLM
“How much does it cost to wrap or parse an EDI document?”
“Where is the EDI pricing listed?”
Tell an agent
Show EDI pricing.
List the price per EDI wrap and parse.
GET /v1/edi/health Check EDI service health · Health Endpoint #
Ask an LLM
“Is the EDI service up?”
“How do I health-check the EDI endpoints?”
Tell an agent
Check EDI service health.
Ping the EDI health endpoint.

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-edi-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-edi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMorph v0.1 Edi API
  description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.'
  version: 0.1.0
tags:
- name: Edi
paths:
  /v1/edi/mcp:
    get:
      summary: Edi Mcp Meta
      operationId: edi_mcp_meta_v1_edi_mcp_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Edi
    post:
      summary: Edi Mcp
      operationId: edi_mcp_v1_edi_mcp_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Edi
  /v1/edi/wrap:
    post:
      tags:
      - Edi
      summary: Wrap Endpoint
      operationId: wrap_endpoint_v1_edi_wrap_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EDIWrapRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EDIWrapResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/edi/parse:
    post:
      tags:
      - Edi
      summary: Parse Endpoint
      operationId: parse_endpoint_v1_edi_parse_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EDIParseRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EDIParseResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/edi/formats:
    get:
      tags:
      - Edi
      summary: Formats Endpoint
      operationId: formats_endpoint_v1_edi_formats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Formats Endpoint V1 Edi Formats Get
  /v1/edi/pricing:
    get:
      tags:
      - Edi
      summary: Pricing Endpoint
      operationId: pricing_endpoint_v1_edi_pricing_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Pricing Endpoint V1 Edi Pricing Get
  /v1/edi/health:
    get:
      tags:
      - Edi
      summary: Health Endpoint
      operationId: health_endpoint_v1_edi_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Health Endpoint V1 Edi Health Get
components:
  schemas:
    EDIDocumentType:
      type: string
      enum:
      - po
      - po_ack
      - asn
      - invoice
      - payment
      title: EDIDocumentType
    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
    EDIParseResponse:
      properties:
        parsed_at:
          type: string
          title: Parsed At
        format:
          $ref: '#/components/schemas/EDIFormat'
        document_type:
          anyOf:
          - $ref: '#/components/schemas/EDIDocumentType'
          - type: 'null'
        sender_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Sender Id
        receiver_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Receiver Id
        interchange_control_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Interchange Control Number
        fields:
          additionalProperties: true
          type: object
          title: Fields
          description: Normalized fields extracted from the EDI document
        hive_receipt_found:
          type: boolean
          title: Hive Receipt Found
        hive_receipt_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Hive Receipt Id
        hive_receipt_verifies:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Hive Receipt Verifies
        hive_receipt_envelope:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Hive Receipt Envelope
        notes:
          items:
            type: string
          type: array
          title: Notes
      type: object
      required:
      - parsed_at
      - format
      - document_type
      - sender_id
      - receiver_id
      - interchange_control_number
      - hive_receipt_found
      - hive_receipt_id
      - hive_receipt_verifies
      - hive_receipt_envelope
      title: EDIParseResponse
    EDIWrapResponse:
      properties:
        wrap_id:
          type: string
          title: Wrap Id
        format:
          $ref: '#/components/schemas/EDIFormat'
        document_type:
          $ref: '#/components/schemas/EDIDocumentType'
        edi_payload:
          type: string
          title: Edi Payload
          description: The serialized EDI document with appended Hive cryptographic segment
        receipt_id:
          type: string
          title: Receipt Id
        sender_id:
          type: string
          title: Sender Id
        receiver_id:
          type: string
          title: Receiver Id
        interchange_control_number:
          type: string
          title: Interchange Control Number
        issued_at:
          type: string
          title: Issued At
        price_usd:
          type: number
          title: Price Usd
          default: 0.0001
        price_micro_usdc:
          type: integer
          title: Price Micro Usdc
          default: 100
      type: object
      required:
      - wrap_id
      - format
      - document_type
      - edi_payload
      - receipt_id
      - sender_id
      - receiver_id
      - interchange_control_number
      - issued_at
      title: EDIWrapResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EDIParseRequest:
      properties:
        edi_payload:
          type: string
          title: Edi Payload
        format:
          $ref: '#/components/schemas/EDIFormat'
      type: object
      required:
      - edi_payload
      - format
      title: EDIParseRequest
      description: Parse an inbound EDI document and extract the embedded Hive receipt segment if present.
    EDIWrapRequest:
      properties:
        receipt_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Receipt Id
          description: Existing Hive receipt id to wrap. One of receipt_id or receipt_envelope must be set.
        receipt_envelope:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Receipt Envelope
          description: Inline receipt envelope (alternative to receipt_id).
        format:
          $ref: '#/components/schemas/EDIFormat'
          description: Output EDI format
        document_type:
          $ref: '#/components/schemas/EDIDocumentType'
          description: Procurement document type
        sender_id:
          type: string
          title: Sender Id
          description: Sender qualifier:id (e.g. 'ZZ:HIVE001')
        receiver_id:
          type: string
          title: Receiver Id
          description: Receiver qualifier:id (e.g. 'ZZ:KOJO001')
        interchange_control_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Interchange Control Number
          description: Optional ISA13 control number; auto-generated if omitted
        test_indicator:
          type: boolean
          title: Test Indicator
          description: ISA15 = T (test) vs P (production)
          default: false
      type: object
      required:
      - format
      - document_type
      - sender_id
      - receiver_id
      title: EDIWrapRequest
      description: Request to wrap a Hive receipt in an EDI envelope.
    EDIFormat:
      type: string
      enum:
      - x12
      - edifact
      - cxml
      - idoc
      title: EDIFormat
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)