Audit Logs
Write and retrieve immutable audit events.
POST
/auditCreate an immutable audit event.GET
/eventsList audit events with filters and cursors.bash
curl -X POST https://app.korclaw.com/api/v1/audit \
-H "Authorization: Bearer $KORCLAW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"agent":"support-agent","action":"ticket.create","resource":"ticket/123","severity":"medium","result":"allowed"}'Response
{"data":{"id":"uuid","event_timestamp":"2026-08-03T09:00:00Z","result":"allowed","severity":"medium"}}