API reference
POSTRequires Bearer token
Create an audit export
/api/logs-audit/exports
Submit /api/logs-audit/exports. Authenticated routes need Authorization: Bearer {token} from POST /api/v1/login.
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
range | string | 7d, 30d (default), 90d, or custom.e.g. "30d" |
date_from | string | Required when range=custom. |
date_to | string | Required when range=custom. |
format | string | csv, json, or pdf.e.g. "csv" |
sealed | boolean | Produce a sealed export. e.g. false |
Responses
| Status | Meaning |
|---|---|
| 201 | Export created |
| 401 | Missing or invalid Bearer token. |