v10

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-01384057.2 KB
audit

Query audit log

Queries the audit log with optional filtering. Returns entries sorted most recent first, capped by limit (default 100).

get/api/v1/audit

Query parameters

datestring date

Filter by date (YYYY-MM-DD). Defaults to today.

userstring

Filter by user pubkey (exact match)

actionstring

Filter by action type (exact match)

limitinteger

Maximum entries to return (default 100)

failed_onlyboolean

Return only failed entries

Response

Audit log entries

{"stackTrail":"components:schemas:NATSEnvelope:properties:result","oasType":"schema","type":"unknown","description":"Response data (structure varies by endpoint — see endpoint examples)"}
errorstring

Error message (present only on failure)