Export audit entries as NDJSON
GET/v1/projects/:project_id/audit-log/export
Streams a project's audit-log entries as newline-delimited JSON — one entry object per line, oldest first — for archival before the retention window expires, or for shipping into an external system. The export is per-project: project_id names it, or a project-bound credential implies its own. Filters behave exactly as they do on the list endpoint.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
A newline-delimited stream of audit entries. Each line is a JSON object with the same fields as AuditEntry.
project_id is missing and the credential names no project, or from/to is present but not a valid ISO 8601 date
Unauthorized
Forbidden
The project does not exist or the caller is not a member of it (RESOURCE_NOT_FOUND).
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded