Exporting Events

Export Audit Log Events through the WorkOS Dashboard and API.

You may need to export Audit Log Events in large chunks. WorkOS supports exporting events as CSV files through both the Dashboard and API.

Exports are scoped to a single organization within a specified date range. Events from the past three months can be included in the export. You may define additional filters such as actions, actors, and targets.

Exports can be manually created under the Organization page when viewing Audit Log Events.

WorkOS Dashboard – Audit Log Export
Create an Export
cURL

Once the export has been created, simply fetch the export at a later time to access the url of the generated CSV file.

Fetch Export
cURL

If the state of the export is still pending, simply poll the export until it is ready for download.