viakite
Dashboard

Guides/Keys and records/Audit log

Audit log

Every change, who made it and when

The audit log records every change made in your organization: who made it, when, from which IP address, and what the thing looked like before and after. Use it to answer "who changed this?", to review access, or to show an auditor what happened. It is in Settings → Audit log.

What is recorded

Every change to settings, members, roles, groups, keys, domains, billing, spend caps, alerts and public pages, whether it was made in the dashboard or through the API. Some of the actions you will see:

AreaActions
Organization and projectsorg.created, org.updated, org.deleted, org.restored, project.created, project.updated, project.deleted, project.restored, project.settings_updated
Members and accessinvite.created, invite.accepted, invite.cancelled, member.joined, member.updated, member.left, join_request.approved, role.created, role.updated, group.members_changed
Domains and SSOdomain.created, domain.verified, domain.updated, domain.deleted, sso.deleted
Keys and webhookskey.created, key.rotated, key.revoked, key.updated, webhook.created, webhook.secret_rotated
Billingbilling.plan_changed, billing.plan_scheduled, billing.spend_caps_changed, billing.addon_changed, payment.captured, payment.failed, program.applied
Analyticsgoal.created, funnel.updated, segment.deleted, annotation.created, share.created, export.created
Alertsalert.created, alert.updated, alert.muted, alert.unmuted, alert.deleted
Privacy and the log itselfdeletion_request.created, audit.exported

Each entry holds:

actor_idstring
The account (acc_…) or API key (key_…) that made the change. Empty when Viakite itself made it; the dashboard shows "Viakite".
actor_typestring
account, key or system.
actionstring
What happened, such as key.created.
target_typestring
The kind of thing changed, such as key.
target_idstring
Its id.
beforeobject
The target before the change, as the API showed it; null when it didn't exist.
afterobject
The target after the change; null when it is gone.
ipstring
The IP address the change came from. Kept here for security; product data never stores IP addresses.
created_atstring
When it happened.

Open an entry in the dashboard to see its Before and After side by side.

Search and filter

Filter by Actor (acc_… or key_…), Action (key.created), Target type, Target id, and a From and To date. Clear filters shows everything again. Entries are newest first. Seeing the log needs the audit.view permission (owners and admins have it).

The same filters work in the API as actor, action, target_type, target, from and to. from and to take an RFC 3339 time or a YYYY-MM-DD date; a date in to covers that whole day.

GET/v1/orgs/{org}/audit
terminal
1curl "https://api.vk.viabio.me/v1/orgs/org_…/audit?action=key.revoked&from=2026-11-01" \
2 -H "Authorization: Bearer sk_live_us_…"

Export as CSV

On the Business plan, Export CSV downloads the filtered log as audit-log.csv, up to 100,000 rows. It needs audit.export; on other plans the API answers plan_required (402). Each export is itself recorded as audit.exported.

POST/v1/orgs/{org}/audit/exports

How long entries are kept

Entries are kept for 1 year. A job removes older ones every night.

Not built yet

Exporting the log straight to your own storage bucket is not built.

Next steps