Admin API
Endpoints on your self-hosted AILP proxy for reading and verifying the audit ledger.
Overview
Each AILP proxy exposes a small admin API on your own infrastructure. It is disabled until you set an admin key, and every request must send that key in the X-API-Key header.
Endpoints
GET /admin/api/ledger?limit=500
The newest ledger blocks, each with its Proof of Reasoning.
GET /admin/api/verify
Verifies every block hash, chain link and signature, and reports the first problem found.
GET /admin/api/pubkey
The Ed25519 public key auditors use to verify records.
GET /admin/api/export
A signed audit report of the full ledger, verifiable offline with ail-cli verify-export.
Health and Metrics
GET /health and GET /metrics (Prometheus format) need no key and expose only counters.
Start an assessment