Skip to main content
POST
Create Audit Export
Initiates an asynchronous export of audit logs for the specified time range. The export will be delivered via webhook or available for download once completed.

Parameters

string
Compliance framework to format the export for. One of soc2, gdpr, or hipaa. When omitted, a raw audit log export is generated. Requires the Compliance Pack add-on. See the compliance exports guide for report contents.
string
required
ISO 8601 start date for the export range
string
required
ISO 8601 end date for the export range
string
Export format (json or csv). CSV is available for all report types.

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Body

application/json
start_date
string<date-time>
end_date
string<date-time>
format
enum<string>
Available options:
csv,
json

Response

202 - application/json

Export job created

export_id
string<uuid>
status
string