decide-fyi Audit Chain API

Caller-scoped cryptographic audit trails with rolling Merkle roots and retained-link verification.

Operations 1

GET /api/decision/chains/{chain_id} Read a Decision Record audit chain #

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/decide-fyi:decide-fyi-audit-chain-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

decide-fyi-audit-chain-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Decide Decision Audit Chain API
  summary: Decision protocol for state-changing software actions.
  description: Call Decide before products, agents, queues, billing systems, CRMs, or internal tools change state. The API returns a signed Decision Record v1 object with policy bundle attestation, evidence, action binding, replay, verification handles, portable Decision Packet v1 exports, simulation-only counterfactual analysis, cryptographic audit chains, Action Execution Receipts, Outcome Records, CRM Sync Records, predictive confidence, first-party policy pattern templates, policy effectiveness metrics, opt-in anonymized benchmarks, and explainable anomaly reports derived from reported outcomes.
  version: 1.13.0
  x-decision-protocol-version: decision_protocol_v1
  x-decision-record-version: decision_record_v1
  x-decision-packet-version: decision_packet_v1
servers:
- url: https://www.decide.fyi
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Audit Chain
  description: Caller-scoped cryptographic audit trails with rolling Merkle roots and retained-link verification.
paths:
  /api/decision/chains/{chain_id}:
    get:
      tags:
      - Audit Chain
      operationId: getDecisionChain
      summary: Read a Decision Record audit chain
      description: Returns decision_chain_v1 head metadata, retained chain links, rolling Merkle root, and verification checks for the caller API-key scoped audit chain. Reads fail with 503 when the authoritative chain store is unavailable rather than reporting a missing chain.
      parameters:
      - name: chain_id
        in: path
        required: true
        schema:
          type: string
          maxLength: 180
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 1000
          default: 50
      responses:
        '200':
          description: Decision chain report
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionChain'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: Requested chain does not match caller scope
        '404':
          description: Decision chain not found
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  responses:
    Unauthorized:
      description: API key missing, invalid, inactive, or unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ServiceUnavailable:
      description: Decision storage or the upstream decision engine timed out or is temporarily unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    DecisionChainLink:
      type: object
      required:
      - decision_chain_version
      - chain_id
      - chain_position
      - leaf_hash
      - merkle_root
      - link_hash
      - decision_id
      - record_hash
      properties:
        decision_chain_version:
          type: string
          const: decision_chain_v1
        chain_id:
          type: string
        chain_position:
          type: integer
        previous_link_hash:
          type:
          - string
          - 'null'
        previous_merkle_root:
          type:
          - string
          - 'null'
        leaf_hash:
          type: string
        merkle_root:
          type: string
        merkle_strategy:
          type: string
          const: rolling_sha256_pair_v1
        link_hash:
          type: string
        entry_type:
          type: string
        decision_id:
          type: string
        record_hash:
          type: string
        receipt_hash:
          type:
          - string
          - 'null'
        policy_id:
          type:
          - string
          - 'null'
        policy_version:
          type:
          - string
          - 'null'
        created_at:
          type: string
        verify_url:
          type: string
        chain_url:
          type: string
      additionalProperties: true
    DecisionChain:
      type: object
      required:
      - ok
      - decision_chain_version
      - chain_id
      - chain_size
      - merkle_root
      - head
      - retained_links
      - verification
      properties:
        ok:
          type: boolean
        decision_chain_version:
          type: string
          const: decision_chain_v1
        chain_id:
          type: string
        chain_size:
          type: integer
        merkle_strategy:
          type: string
          const: rolling_sha256_pair_v1
        merkle_root:
          type:
          - string
          - 'null'
        head_link_hash:
          type:
          - string
          - 'null'
        updated_at:
          type: string
        head:
          $ref: '#/components/schemas/DecisionChainLink'
        retained_links:
          type: array
          items:
            $ref: '#/components/schemas/DecisionChainLink'
        verification:
          type: object
          additionalProperties: true
      additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        c:
          type: string
        v:
          type: string
        request_id:
          type: string
        error:
          type: string
        message:
          type: string
      additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key