PrismDocs
PrismDocs

Public APIs

Read Prism stats, history, and trace reports from the dashboard API.

The dashboard exposes read-only public APIs for developers and the CLI. These endpoints do not require payment.

Base URL:

https://prism-dashboard-production-e6e3.up.railway.app

Stats

GET /api/public/stats

Returns aggregate public metrics:

{
  "generated_at": "2026-05-16T18:00:00.000Z",
  "stats": {
    "verdictsIssued": 550,
    "tracesValidated": 739,
    "onChainAnchors": 524,
    "builderAttributedTrades": 73,
    "builderFees": "0.000000",
    "externalX402Calls": 1,
    "avgVerdictScore": "63.88"
  }
}

History

GET /api/public/history?limit=5

limit is clamped from 1 to 100.

Each entry includes trace ID, verdict score/label, dashboard URL, IPFS CID, and on-chain receipt hashes when available.

Trace report

GET /api/public/traces/{id}/report

Returns the full Prism Report:

  • trace metadata
  • validation metadata
  • deterministic reasoning metrics
  • readiness value
  • warnings
  • capital_gate execution policy (BLOCK, REVIEW, ALLOW_PAPER, or ENDORSE)
  • issue_ledger summary and per-issue tool outcomes:
    • tool_status: resolved, fail_closed, or not_recorded
    • tool_provider: normalized provider name when a provider is visible in the receipt
    • tool_receipt: structured provider/tool/source provenance, URL extraction hash/excerpt, and adequacy checks for accepted evidence
    • resolved_by_evidence_tool: whether Sentinel accepted matched tool evidence
    • latest_resolution: the latest recorded resolution attempt
  • receipts

A missing trace returns:

{ "error": "trace_not_found" }

with HTTP 404.

CLI equivalents

uv run prism stats --json
uv run prism history --limit 5 --json
uv run prism report d6cdd60f-f5e0-43ab-ba2d-7dcab76a8e24 --json

On this page