{
  "service": "Supreme Watermark — D-KaP file-seal API",
  "version": "1.3.0-enterprise",
  "trademark": "EPOCH_QUANTUM_OSCL_FLASH_SYNC_TECH",
  "ras_root": "40668c787c463ca5",
  "tiers": {
    "freemium": {
      "base": 0,
      "commits_included": 1,
      "overage_rate": 0
    },
    "basic": {
      "base": 100,
      "commits_included": 100,
      "overage_rate": 1
    },
    "enterprise": {
      "base": 500,
      "commits_included": 1000,
      "overage_rate": 0.5
    },
    "compliance": {
      "base": 2000,
      "commits_included": -1,
      "overage_rate": 0.25
    },
    "due_diligence": {
      "base": 10000,
      "commits_included": -1,
      "overage_rate": 0,
      "one_time": true
    }
  },
  "endpoints": [
    "GET  /                                — this index (JSON) or landing (HTML, Accept: text/html)",
    "POST /watermark                       — file body or multipart 'file' → 10-phase chain + 3 anchors + insight",
    "POST /watermark/file                  — alias of /watermark",
    "POST /                                — alias of /watermark (proxy-compat)",
    "POST /phase-chain                     — compute phase chain WITHOUT anchoring (free preview)",
    "POST /verify                          — { directive_id | full_hash | watermark_hash } → chain-verified",
    "GET  /verify?directive_id=…           — same, GET form for shareable links (cached 60s)",
    "GET  /usage                           — tier usage (X-API-Key gated)",
    "GET  /metrics                         — Prometheus-format counters",
    "GET  /health                          — liveness probe"
  ],
  "anchors": {
    "primary": "sh.E directive chain (Ed25519 + ML-DSA-87 FIPS 204 hybrid) — indexed at chain.epochcoreqcs.com",
    "secondary": "OpenTimestamps Bitcoin TSA (portable, infrastructure-independent)",
    "tertiary": "IBM Event Streams (Kafka topic `dkap-proofs`) — fan-out via webhook subscribers"
  },
  "headers": {
    "X-Trace-ID": "Distributed trace ID (UUID-v4); echoed in response. Provide your own or one is generated.",
    "Idempotency-Key": "Optional. If present, response is cached 24h and replays are idempotent.",
    "X-API-Key": "Optional. Bypasses anonymous rate limit; tier policy applies instead."
  },
  "quantum_seal": {
    "frequency": 7777.77,
    "phase_angle": 137.5,
    "ras_root": "40668c787c463ca5"
  },
  "docs": "https://epochpay.today/api/watermark/"
}