Skip to main content
The audit export endpoint streams every action taken in your tenant as newline-delimited JSON (NDJSON) for a specified time window. Use it to generate compliance reports, feed audit data into your SIEM, or produce records for regulatory requirements.

Endpoint

Authorization

Requires an API key with the COMPLIANCE_EXPORT scope.

Query Parameters

string
required
Inclusive lower bound of the export window. ISO-8601 instant (e.g. 2024-01-01T00:00:00Z).
string
required
Exclusive upper bound of the export window. ISO-8601 instant. Must be after from.
string
Filter audit records by actor type. One of: HUMAN, AGENT, ALL. Default: ALL.

Request Example

Response

The response body is an NDJSON stream — each line is a complete JSON object representing one audit record.
string
Unique audit record ID.
string
Actor type: HUMAN (API key holder) or AGENT (automated agent).
string
The action performed (e.g. POST_TRANSACTION, CREATE_ACCOUNT).
string
The ID of the API key that performed the action.
string
ISO-8601 timestamp of when the action occurred.
object
Action-specific details (varies by action type).

Response Example

For high-volume tenants, use short time windows (e.g., daily) to avoid very large response streams. Process the NDJSON line-by-line to avoid loading the entire export into memory.

Error Codes