Skip to main content
GET
Export Audit Log (CSV)
Streams matching audit entries as a CSV attachment. Without orgId, the export is scoped to your own entries.

Authentication

Requires an API key with billing scope. Org-scoped exports additionally require the View audit log permission for that organization.

Query Parameters

orgId
string
Export entries for this organization instead of your personal entries.
action
string
Filter to a single action (e.g., completion.created).
from
string
ISO timestamp lower bound (inclusive).
to
string
ISO timestamp upper bound (inclusive).

Response

Content-Type: text/csv attachment. Columns:

Example

curl