Loading ORINEL…
Authorized compliance or security teams can export activity and usage logs for a date range. Export is available via a dedicated API using a compliance key (not the user session).
GET /api/compliance/audit-export
Header X-Compliance-Key must match the server env COMPLIANCE_EXPORT_API_KEY. No session or API key is used for this endpoint.
format — json (default) or csvfrom — Start date (ISO 8601)to — End date (ISO 8601). Default: now. If omitted, last 30 days from to.CSV format returns a downloadable file with Content-Disposition: attachment.
curl -H "X-Compliance-Key: YOUR_KEY" \ "https://app.example.com/api/compliance/audit-export?format=csv&from=2025-01-01&to=2025-01-31" \ -o audit-2025-01.csv