Skip to main content
GET
Export audit log entries as CSV

Authorizations

Authorization
string
header
required

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

Query Parameters

start
string
required

Earliest change to include, in UTC. A date (YYYY-MM-DD) starts at midnight; a date-time (ISO 8601, for example 2026-11-20T09:30:00Z) starts at that minute. A value with an offset is converted to UTC.

end
string
required

Latest change to include, in UTC. A date (YYYY-MM-DD) includes the whole day; a date-time (ISO 8601) includes the whole of that minute.

publisher_uid
string

Publisher uid, or a comma-separated list of them. Only changes related to these publishers, including their configs (ad units) and ad stacks (current and past) and their organisations' integration mappings. Uids that don't exist or that you can't access are ignored; if none are left, no changes are returned.

Pattern: ^\d+(,\d+)*$
tag_impacting
enum<string>
default:0

Whether to only include changes that affect the publisher tag. Also accepts true, yes and on for 1. Values: 0 = All changes, 1 = Only changes that affect the tag.

Available options:
0,
1,
true,
false,
yes,
no,
on,
off
entity_types
string

Comma-separated entity types (table names) to include, for example publisher_tag_config,ad_stack. Values with characters other than letters, digits and underscores are dropped, and all is ignored. With tag_impacting, only the types that affect the tag are kept.

entity_type
string

Older single-value form of entity_types, used only when entity_types is empty. Also accepts a comma-separated list.

event_type
enum<string>
default:all

Type of change. Values: all = All changes, insert = Created, update = Updated, delete = Deleted.

Available options:
all,
insert,
update,
delete
client
enum<string>
default:all

Where the change was made. Case-insensitive. Values: all = Anywhere, direct = Directly in the platform or the API, mcp = Through an AI client (MCP).

Available options:
all,
direct,
mcp
user_id
integer

User id. Only changes made by this user. 0 is the system.

Free-text search across entity type, action, client, the record before and after the change, user id and organisation id.

Response

OK: The CSV export.

count
integer
required

Number of audit log entries exported. There can be more rows, one per changed field.

csv
string
required

CSV text with a header row, one row per changed field.

filename
string
required

Suggested file name: audit-log-<start>-to-<end>-<today>.csv, with times as YYYY-MM-DD-HHMM.

success
enum<boolean>
required

Always true on success.

Available options:
true