Research artifact — not legal advice, not court-endorsed. Source judgments remain the property of the issuing court. See data/tos_audit.md and LICENSE.

← back to dashboard · playground · simulator · cross-border

API reference

The API is local-dev-shaped: stdlib-only Python http.server, Postgres-backed, no auth (loopback only). Eighteen endpoints across six tags (corpus / rules / rule-runs / routing / authoring / ingestion). Every POST /api/rule_run writes a row to the audit log; module/scope/filename inputs are alphabet-restricted; /api/rule_save is gated by HABEAS_ADMIN_MODE=1.

spec: api/openapi.yaml · base url: http://127.0.0.1:5544