Skip to main content

Audit Logging

Audit logs record actions taken in your organization. You can list, filter, and export them through the API or CLI.

Endpoints

All endpoints are under /api/v1/organizations/:orgId/audit-logs.

List audit logs

Returns paginated results with items, hasMore, and nextCursor for cursor-based pagination.

Export

Supported formats: csv, json, ndjson. csv and ndjson stream results directly. json is more tightly capped and better for smaller exports.

Export preflight

Returns estimated row count and byte size before you commit to a full export. Use this for large date ranges.

Get single event

CLI

CLI export streams output directly to stdout.