viakite
Dashboard

API/Audit log/The audit log, newest first

The audit log, newest first

GET/v1/orgs/{org}/audit
Secret keyNeeds audit.viewapi.vk.viabio.me

Path parameters

orgstringrequired
The organization's id (org_…).

Query parameters

limitinteger1–200default 50
How many rows to return, 1 to 200.
cursorstring
The next_cursor of the previous page. Opaque.
actorstring
An account or key id.
actionstring
Such as key.created.
targetstring
The target's id.
target_typestring
Such as key.
fromstring
An RFC 3339 time or a YYYY-MM-DD date.
tostring
An RFC 3339 time or a YYYY-MM-DD date (that whole day).

Responses

A page of entries.

dataAuditEntry[]required
One change.
Show 11 fields
idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
org_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
actor_idstringrequired
The account or key that made the change; empty for the system.
actor_typestringrequired
staff is a change Viakite staff made (shown as "Viakite staff").
actionstringrequired
target_typestringrequired
target_idstringrequired
beforeanyrequired
The target before, as the API showed it; null when it didn't exist.
afteranyrequired
The target after; null when it is gone.
ipstringrequired
created_atstring · date-timerequired
A time in UTC, ISO 8601.
next_cursorstring
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.

StatusCode
422validation_error