capabilities.work

Export Audit Logs

A 3-step recipe with Airtable. We can help you get access.

Recipe · 3 steps

Export Audit Logs

Create an audit log export request, poll for completion, then list events.

  1. Create a new audit log export request for the enterprise account using the supplied time range filter.
  2. Poll the audit log export request until it reaches the done status. If the status is still pending or processing, retry this step; if it fails, abort the workflow.
  3. Read the audit log events for the enterprise account across the same time range now that the export request has completed.
What you'll need to have ready
  • enterpriseAccountId: The enterprise account identifier (starts with 'ent').
  • startTime: Start of the time range to export, in ISO 8601 format.
  • endTime: End of the time range to export, in ISO 8601 format.
  • originatingUserId: Optional filter limiting events to a specific user.
  • eventType: Optional filter limiting events to a specific event type.
  • modelId: Optional filter limiting events to a specific affected model.
  • category: Optional filter limiting events to a specific category.
For your developer

Arazzo workflow airtable:export-audit-logs, 3 operations: createAuditLogRequest → getAuditLogRequest → listAuditLogEvents. Specs on APIs.io.