Audit Log

Export Audit Log

Audit Log API endpoint exports the organization audit log as a downloadable CSV or JSON file. Returns a presigned S3 URL, valid for 1 hour, that downloads the file directly.

get/api/v2/audit-log/export

Request

Query parameters

fromstring date required

Start of the exported range (YYYY-MM-DD)

tostring date required

End of the exported range (YYYY-MM-DD)

format'csv' | 'json'

File format of the export

team_idinteger

Optional team filter. When omitted, the whole organization is exported

Response

Successful Response

urlstring required

Presigned S3 URL to download the exported file, valid for 1 hour

Changes

No recorded changes to this operation across all 1 revision of this API.