The audit log, newest first
GET/ v1/ orgs/ {org}/ audit
Path parameters
org
The organization's id (
org_…).Query parameters
limit
How many rows to return, 1 to 200.
cursor
The
next_cursor of the previous page. Opaque.actor
An account or key id.
action
Such as
key.created.target
The target's id.
target_type
Such as
key.from
An RFC 3339 time or a YYYY-MM-DD date.
to
An RFC 3339 time or a YYYY-MM-DD date (that whole day).
Responses
A page of entries.
data
One change.
Show 11 fieldsHide fields
id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).org_id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).actor_id
The account or key that made the change; empty for the system.
actor_type
staff is a change Viakite staff made (shown as "Viakite staff").action
target_type
target_id
before
The target before, as the API showed it; null when it didn't exist.
after
The target after; null when it is gone.
ip
created_at
A time in UTC, ISO 8601.
next_cursor
Example response
1{2"data": [3{4"id": "aud_01JD8Q2M4W9XK3T7B5",5"org_id": "org_01JD8Q2M4W9XK3T7B5",6"actor_id": "acc_01JD8Q2M4W9XK3T7B5",7"actor_type": "account",8"action": "key.created",9"target_type": "key",10"target_id": "id_01JD8Q2M4W9XK3T7B5",11"before": null,12"after": null,13"ip": "string",14"created_at": "2026-11-21T09:30:00Z"15}16],17"next_cursor": "string"18}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
validation_error |