Quickstart
Prerequisites
- Python 3.10+
- A Fact0 write-scoped API key from app.fact0.io
https://api.fact0.io (the default). No local server or self-hosted stack required.
Track 1 - Audit event (60 seconds)
POST /v1/events/batch. By default the server accepts async ingest (202 + receipt); the SDK polls receipts automatically.
Open app.fact0.io/dashboard/audit to see the event with sequence number and hash chain.
Read events back
Track 2 - Execution trace
GET /api/v1/executions.
Async ingest and receipts
| Mode | How | Response |
|---|---|---|
| Async (default) | No header | 202 + receipt_id - poll GET /v1/receipts/{id} |
| Sync | sync=True on client or X-Fact0-Sync: true | 201 / 200 with committed events |