Skip to content

Logs API

The Logs API supports investigation, review, and integration with external reporting workflows.

Useful filters include actor, resource, scope, operation, status, and time range.

Terminal window
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..."
}
Terminal window
curl -sS "$ANCHOR_API/logs/audit?limit=50" \
-H "Authorization: Bearer $ANCHOR_TOKEN"

Logs preserve operational context without exposing secrets.

Plan export volume, retention, and downstream access control before using logs for audit evidence.