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.

RouteWhat it does
GET /v1/orgs/:orgId/auditOne 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/exportDaily JSON Lines export of the audit log into one of the org's buckets (audit/<yyyy-mm-dd>.jsonl).
PUT /v1/orgs/:orgId/audit/exportTurns the daily export on (bucketId: an active bucket of the org) or off (null). Owners and admins.