Company

Export the company audit journal as CSV

Company-admin only. Same filters as GET /company/audit-log (cursor/limit are ignored, sort is honoured), no pagination — hard-capped server-side; a capped export answers X-Export-Truncated: true. The export itself is journalled (audit_log.exported).

get/company/audit-log/export

Request

  • Base URL: https://api.atako.ai
  • URL: https://api.atako.ai/company/audit-log/export
  • Auth: HTTP bearer

Query parameters

cursorstring

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

limitinteger

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

sort'asc' | 'desc'

Sort by createdAt, default desc.

actorIdstring uuid

Filter to a single human actor.

actorAgentIdstring uuid

Filter to a single agent actor.

actionstring

Comma-separated list of exact action strings.

status'ok' | 'denied' | 'error'

Filter by outcome.

entityTypestring

Filter by the affected entity type.

entityIdstring uuid

The history of one entity (an agent, a key…).

fromstring date-time

Only entries at or after this instant.

tostring date-time

Only entries at or before this instant. A bare date (2026-09-01) includes that whole day (UTC).

qstring

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

qActionsstring

With q: comma-separated label keys (action with . replaced by _) whose translated label matched q; widens the search to those actions.

Response

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

Changes

No recorded changes to this operation across all 2 revisions of this API.