ApiAudit log
Exports audit events as CSV or NDJSON.
Streams up to 50,000 events, newest first, matching the same filter the list takes. When more match, the response carries `X-Fruxon-Export-Truncated: true`; narrow the window and export again. The export is itself recorded in the audit log, and is refused if that record cannot be written. CSV cells that a spreadsheet would run as formulas are prefixed with an apostrophe.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
tenant*string
The tenant identifier
The filter and the format.
filter?
The same filter the list takes; empty is the last 90 days.
format?string
The file format of an audit-log export.
Value in
"UNSPECIFIED" | "CSV" | "NDJSON"[key: string]?never
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/auditEvents:export" \ -H "Content-Type: application/json" \ -d '{}'"string"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}