Skip to content
StraventaDocs

Export audit trail as CSV

Exports the audit trail for the specified date range as a downloadable CSV or Excel file.

GET
/api/recon/v1/audit-trail/export

Exports the audit trail for the specified date range as a downloadable CSV or Excel file.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

action?string
target_type?string
actor_id?string
Formatuuid
since?string
Formatdate-time
until?string
Formatdate-time

Response Body

text/csv

application/json

curl -X GET "https://example.com/api/recon/v1/audit-trail/export"
"(binary file content)"
{
  "error": "unauthorized",
  "message": "Bearer token is missing or invalid",
  "request_id": "01900000-0000-7000-8000-000000000001"
}

Was this page helpful?