Export the audit log as CSV or JSONL, in chain order and streamed (owner or admin)
const url = 'https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/audit-log/export?actorType=user&from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z&format=csv';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/audit-log/export?actorType=user&from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z&format=csv'Same filters as the list query. The export is recorded in the audit log (audit.exported) before it starts and includes itself. Only one export at a time per organization (409 audit_export_in_progress); a from–to range of at most 366 days is required. Each JSONL line includes canonical, the exact text that is signed: hash = SHA-256(prevHash || canonical). In CSV, a text starting with = + - @ is prefixed with an apostrophe.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
org_01hx0000000000000000000000Query Parameters
Section titled “Query Parameters”From (inclusive), ISO 8601. Required
From (inclusive), ISO 8601. Required
To (exclusive), ISO 8601. Required; at most 366 days after from
To (exclusive), ISO 8601. Required; at most 366 days after from
Defaults to csv
Defaults to csv
Responses
Section titled “Responses”Streamed file
Example generated
exampleInvalid data
object
object
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
object
object
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
object
object
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
object
object
Example
{ "error": { "code": "not_found" }}Conflict
object
object
Example
{ "error": { "code": "not_found" }}Internal error
object
object
Example
{ "error": { "code": "not_found" }}