Export the unified tenant audit stream to CSV

Streams the rows GET /api/v3/audit/tenants/{tenantId}/events would serve for the
same parameters - the same window, the same filters, the same admitted sources
and the same (event_timestamp DESC, event_source, log_id DESC) ordering - as one
RFC 4180 CSV.

startTime and endTime are REQUIRED: an export is a bulk read and it is bounded
by a window the caller states.

It takes the SAME source and dimension filters as the feed, and applies them the
same way: a file exported from a tab holds that tab's rows, because "the export
emits exactly the feed's rows" is only true when both are built from one
parameter set by one query builder.

There is no cursor parameter. An export is not paged, and silently ignoring a
cursor would emit a different row set than the caller believes they asked for,
so passing one is answered 400.

The response carries X-Export-Row-Ceiling before the first row, and
X-Export-Rows and X-Export-Truncated after the last. An ABSENT header means
UNKNOWN, never complete: a container discards a header set on a committed
response. The file's own last record is the durable answer.

The details column of the feed is deliberately NOT exported.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Tenant UUID

Query Params

Free-text search, as on the feed

string

SQL LIKE pattern against event_type, as on the feed

string
enum

Exact outcome filter, as on the feed

Allowed:
string
enum

Narrow the file to ONE trail, as on the feed

Allowed:
string

Crypto operation type, as on the feed

string

Admin entity type, as on the feed

string

Admin action, as on the feed

date-time
required

Inclusive lower bound on event_timestamp (ISO-8601, REQUIRED)

date-time
required

Inclusive upper bound on event_timestamp (ISO-8601, REQUIRED)

string
enum
Defaults to csv

Output format. Only csv is supported; any other value is refused.

Allowed:
Responses
200

CSV export started (streaming)

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/problem+json