Skip to main content
GET
Audit events cover:
  • Sign-ins, password resets, email changes, and other account security actions
  • API key creation, changes, and revocation
  • Voice model creation, changes, deletion, and downloads
  • Team member, role, and invitation changes
  • Self-hosted license and bundle downloads, and container image pulls
  • Deploy tokens, OAuth app approvals, billing settings, and more (see Filters)
  • Actions by Fish Audio staff on your team (actor.type is support)
Audit logs are available only with an Enterprise contract, the Scale plan, or approval from Fish Audio (contact sales). Enterprise and Scale teams have them on by default.

Before you start

A team owner or admin creates a SIEM key, an API key with the audit_log:read scope:
  1. Open Audit Logs in the console, click API access, then Create SIEM key.
  2. Choose how long the key lasts: 7, 30, or 90 days, or no expiration. You may be asked to confirm a code sent to your email.
  3. Copy the key. It is shown only once.
Send the key in the Authorization: Bearer header of every request. The key stops working when it expires or when its creator is no longer an owner or admin, so create it from an account that will keep that role. A SIEM key can only read audit events, but events include team members’ emails, IP addresses, and user agents, so keep the key in a secret manager.

Poll for new events

  1. On the first call, omit cursor. You receive the last 24 hours of events.
    To start from an earlier time, pass it as since on the first call. It can be up to 90 days ago. Write it in ISO 8601, such as 2026-11-01T00:00:00Z. A time without a time zone is read as UTC.
  2. Send events to your SIEM. Once it accepts them, store next_cursor, the position to read from next. Store it even when events is empty.
  3. If has_more is true, call again right away with cursor set to the stored value. If it is false, you have caught up for now: on your next run, call again with the stored cursor. Once a minute is enough.
Send the same filters on every call. To change filters or start from an earlier since, clear the stored cursor and pass since. The loop below is a skeleton: you supply load_cursor, save_cursor, send_to_siem, and alerting.
Run pull on a schedule, for example from cron or a serverless function, one run at a time so the stored cursor only moves forward. Implement send_to_siem to post each page to your SIEM’s HTTPS ingestion endpoint, such as a Panther HTTP log source, and split pages that exceed its request size limit. If your SIEM rejects a request, raise an error so the cursor isn’t stored. To check the setup end to end, look in your SIEM for the api_key.create event of your SIEM key, about 5 minutes after you create the key. If the key is more than 24 hours old at your first call, pass a since from before you created it.

Ordering and delivery

  • An event is returned about 5 minutes after its published_at, the time our log pipeline received it. The Audit Logs page in the console shows events sooner.
  • Events are sorted by published_at, then id, and since filters by published_at too. Use occurred_at as the event time in your SIEM; it can be earlier than events you have already received.
  • The same event can be returned more than once, including in a later run. Deduplicate on id in your SIEM.
  • If we notify you that an incident delayed writes to our log, pause your job, clear the stored cursor, and pull again with since set to the start time in the notice, deduplicating on id as usual. Outside such incidents, polling returns every event written to the log.
  • Field names stay the same within a schema_version. New fields and categories can be added, so accept values you don’t recognize.

Filters

To narrow the results, pass category, action, or outcome (success or failure). category and action take comma-separated lists that match any of their values; different parameters must all match. For example, category=api_key,deploy_token&outcome=failure returns failed API key and deploy token events.

Limits

  • Each team can make 60 requests per minute.
  • Each page holds up to 1,000 events (limit, default 100).
  • History goes back up to 90 days, but not before your team had audit logs.

Errors

Retrying won’t fix 401 or 403: alert on them, fix the cause, then resume from your stored cursor. Error bodies come in three shapes:

Rotate or revoke a key

To rotate a key, create a new one, switch your job to it, then delete the old one under API access › Manage keys on the Audit Logs page. Your stored cursor keeps working with the new key. To keep using a key past its expiry, change its expiry there instead; the key value stays the same. If a key leaks, delete it there, or revoke it without signing in with Revoke Exposed API Keys.

Request and response

Authorizations

Authorization
string
header
required

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

Query Parameters

cursor
string | null

The next_cursor of the previous call. Omit on the first call; mutually exclusive with since.

since
string | null

First call only: ISO-8601 instant to start from (inclusive), at most 90 days ago. Defaults to 24 hours ago.

limit
integer
default:100

Events per page (1-1000).

Required range: 1 <= x <= 1000
category
string | null

Comma-separated categories, e.g. auth,api_key.

action
string | null

Comma-separated actions, e.g. auth.sign_in.

outcome
enum<string> | null
Available options:
success,
failure
team_id
string | null

Optional: the team you expect the key to belong to. A key always reads its own team; a different value is refused.

Response

Request fulfilled, document follows

One page of a team's audit events in ascending published_at order.

events
AuditLogV1Event · object[]
required
has_more
boolean
required

More events are ready now: call again with next_cursor.

next_cursor
string
required

Always set. Store it and pass it as cursor on the next call, even when this page is empty.

schema_version
string
default:1
Allowed value: "1"