API
Audit log
Read an organization's audit log.
See Audit log for every recorded action.
Every route below, with its parameters, request and response, errors and samples, is in the API reference.
| Route | What it does |
|---|---|
GET /v1/orgs/:orgId/audit | One page of the audit log, newest first. Filter by action (an action or a category), actor or target. The first page also returns retentionDays. |
GET /v1/orgs/:orgId/audit/export | Daily JSON Lines export of the audit log into one of the org's buckets (audit/<yyyy-mm-dd>.jsonl). |
PUT /v1/orgs/:orgId/audit/export | Turns the daily export on (bucketId: an active bucket of the org) or off (null). Owners and admins. |