Skip to main content
GET
Export your team's audit log as CSV
  • Owners and Admins only. An API key needs team:manage.
  • content holds the CSV text, newest event first: time_utc, actor (the member, and the API key or app they used), action, kind, target and details (the value before and after, fields changed or viewed, never their values, and a transfer’s size, address and user agent). Save it as file_name.
  • One file holds up to 2000 events. When more remain, next_cursor is set: pass it as cursor, with the same filters, for the next file, whose header row repeats.
  • To answer a question about the events, audit.list returns them as JSON.
  • Events stay listed for 90 days.
  • Callers: an API key, an MCP OAuth token or a Dashboard session.
  • Permission: team:manage; an API key also needs team:manage.
  • Effect: Changes nothing.
  • Errors: business_account_required, role_permission_missing, and the errors any request can get.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

kind
string

Only events of these kinds: one, such as team.role_changed, or several comma-separated, such as team.role_changed,api_key.created. The kinds: team.member_added, team.role_changed, team.member_removed, team.invitation_sent, team.invitation_resent, team.invitation_revoked, login.access_granted, login.access_changed, login.access_revoked, api_key.created, api_key.revoked, tool.published, tool.deleted, tool.code_link_created, tool.code_downloaded, file.uploaded, login.created, login.updated, login.deleted, login.unlock_requested, login.unlock_granted, login.unlocked_replace_started, login.unlocked_delete_started, login.unlocked_change, login.revealed, login.sms_number_linked, login.sms_number_unlinked, webhook.created, webhook.updated, webhook.secret_rotated, webhook.tested, webhook.deleted, account.session_recordings_changed, account.two_step_rule_changed, account.identity_provider_only_changed, usage.daily_cap_changed, usage.overage_budget_changed, usage.alert_created, usage.alert_changed, usage.alert_deleted, usage.summary_changed, usage.dollar_alerts_changed, two_step.authenticator_added, two_step.authenticator_removed, two_step.passkey_added, two_step.passkey_renamed, two_step.passkey_removed, two_step.backup_codes_created, two_step.backup_code_used

from
string

At or after, inclusive (default and earliest: 90 days ago)

to
string

Before (default: now)

cursor
string

The next_cursor of the previous page

limit
string

Events in this file, 1 to 2000 (default 2000)

Response

The events as CSV

file_name
string
required

A name to save it under, such as pomerado-audit-log-2026-09-01-to-2026-11-30.csv

media_type
enum<string>
required
Available options:
text/csv
content
string
required

The CSV text: a header row (time_utc, actor, action, kind, target, details), then one row per event, newest first, each line ending in CRLF. A field a spreadsheet would read as a formula starts with an apostrophe

rows
number
required

How many events it holds

next_cursor
string | null
required

Set when older events in the range didn't fit: pass it as cursor, with the same kind, from and to, for the next file. Null when this one ends the range