Skip to main content
GET
Export the company audit journal as CSV

Authorizations

Authorization
string
header
required

An aik_… programmatic API key (app.atako.ai → Settings → API keys) or a Supabase session JWT.

Query Parameters

cursor
string

Opaque pagination cursor from a previous page's nextCursor (ignored by /export).

limit
integer

Page size, default 50, capped at 100 (ignored by /export).

Required range: 1 <= x <= 100
sort
enum<string>

Sort by createdAt, default desc.

Available options:
asc,
desc
actorId
string<uuid>

Filter to a single human actor.

actorAgentId
string<uuid>

Filter to a single agent actor.

action
string

Comma-separated list of exact action strings.

status
enum<string>

Filter by outcome.

Available options:
ok,
denied,
error
entityType
string

Filter by the affected entity type.

from
string<date-time>

Only entries at or after this instant.

to
string<date-time>

Only entries at or before this instant.

q
string

Free-text search over action, actor name/email, agent name and entity type.

Response

CSV file (text/csv, Content-Disposition: attachment).

The response is of type string.