v97

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-31135175384.2 KB
Audit Logs

Download an audit-log export chunk

Download an organization's audit log records for a time range as a file, for archival, compliance, or offline analysis. For interactive browsing, use GET /audit-logs.

get/audit-logs/export/chunk

Query parameters

startstring date-time required
Example:2026-01-01T00:00:00Z

Lower bound (inclusive) for the audit record timestamp.

endstring date-time required
Example:2026-01-02T00:00:00Z

Upper bound (exclusive) for the audit record timestamp.

auth_strategystring

Filter by authentication strategy.

servicestring

Filter by service name.

methodstring

Filter by HTTP method.

exclude_methodstring[]

Filter out results by HTTP method.

searchstring

Free-text search over path, user ID, email, client IP, and status.

search_user_idstring[]

Additional user IDs to OR into free-text search.

cursorstring

Opaque cursor from X-Next-Cursor for the next chunk of older records.

limitinteger

Maximum number of records to return in this chunk.

format'jsonl' | 'jsonl.gz'

Encoding for the returned chunk.

Response

One chunk of audit log records.