Audit export
Export the audit trail as CSV or JSON, filtered by environment, outcome, provider, or date.
The audit log can be exported for compliance, reporting, or archival.
Parameters
| param | required | notes |
|---|---|---|
environment_id | yes | which environment to export |
format | no | csv (default) or json |
outcome | no | filter by outcome (e.g. denied, approved) |
provider_config_key | no | filter by provider |
date_from / date_to | no | ISO-8601 range on event time |
The response streams an attachment (audit-events.csv / .json) with a column per recorded field —
id, uuid, source, provider, connection, action, outcome, status code, duration, arguments hash, approval
linkage, decided-by, and timestamps.
Row cap
Exports are capped at 10,000 rows. If the result is truncated, the response carries
X-Export-Truncated: true — narrow the date range or filters to capture the rest.