Logs API
The Logs API supports investigation, review, and integration with external reporting workflows.
Query dimensions
Section titled “Query dimensions”Useful filters include actor, resource, scope, operation, status, and time range.
Read operational events
Section titled “Read operational events”curl -sS "$ANCHOR_API/logs/events?range=24h&target_type=resource&target_id=42" \ -H "Authorization: Bearer $ANCHOR_TOKEN"Representative event:
{ "timestamp": "2026-05-06T13:20:13Z", "actor": "admin", "target_type": "resource", "target_id": 42, "operation": "verify", "status": "succeeded", "correlation_id": "evt_01HX..."}Read audit events
Section titled “Read audit events”curl -sS "$ANCHOR_API/logs/audit?limit=50" \ -H "Authorization: Bearer $ANCHOR_TOKEN"Sensitive data
Section titled “Sensitive data”Logs preserve operational context without exposing secrets.
Export
Section titled “Export”Plan export volume, retention, and downstream access control before using logs for audit evidence.