Audit logs

Export audit logs

POST https://demo.notifuse.com/api/auditLogs.export

Streams the entries the filter selects, newest first, as a CSV or NDJSON file download, up to 100 000 rows. When the cap is reached the response ends with an export.truncated marker row; narrow the date range for the rest. The same authorisation as auditLogs.list applies, before the first byte is written. The export is itself recorded as auditLogs.export.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Body application/json

scope string
Default workspace Options workspace, deployment
workspace_id string
format string
Default csv Options csv, ndjson
actions string[]
categories string[]
actor_id string
actor_email string
actor_type string
outcome string
Options success, failure, denied
target_type string
target_id string
ip_address string
from string<date-time>
to string<date-time>

Response

200 The file, as text/csv or application/x-ndjson with a Content-Disposition attachment header string
400 Malformed filter or unknown format object
error string required

Error message

403 Not allowed object
error string required

Error message