Skip to content
You're viewing documentation for v2026.11.14-beta. It may be out of date.Go to latest
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Export the audit log

Streams all the rows that match the filters, with no page limit, as a file download. The times are UTC (RFC 3339). The export itself adds a row to the audit log.

GET/api/v1/audit-events/export
Authorization
tse_sessionAPI key · cookierequired
Query parameters
formatstringrequired

csv: a header row, then one row for each event. A value that starts with =, +, -, @, tab or carriage return gets a ' before it, so that a spreadsheet does not read it as a formula. json: one JSON array, with one object for each event and the values as stored. jsonl: JSON Lines, one object on each line, with the values as stored

Allowed:csvjsonjsonl
actorstring

Only the rows of this actor (without regard to case)

operationstring

Only the rows of this operation ID

sincestring<date-time>

Only the rows at or after this time

untilstring<date-time>

Only the rows before this time

Responses
200

OK

default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X GET 'https://console.example.com/api/v1/audit-events/export?format=csv' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
OK