List audit events
/workspaces/{workspace}/audit-eventsReturns the workspace’s audit log, newest first, plus sign-in activity by current members. Uses cursor pagination.
Authentication
Send an API token as a bearer token. This endpoint needs a read token, made by an admin or owner. Create one in My account → API tokens; see scopes and roles.
Authorization: Bearer 42|bynh_pat_•••••••HeaderPath parameters
workspacestringRequiredYour workspace slug, e.g. dokan.
Query parameters
categoryenumActions starting with this prefix. One of
auth,workspace,member,certificate,document,access_request.actionstringExact action, e.g. status.incident_opened or evidence.item_collected (max 64). Use this for prefixes not in category.
per_pageintegerdefault 501–100.
cursorstringmeta.next_cursor from the previous page.
Response
200 OKLaravel cursor-paginated resource: data, links {first: null, last: null, prev, next}, meta {path, per_page, next_cursor, prev_cursor}.
idintegerEvent id.actionstringDotted action, e.g. certificate.updated.whostringLocalized actor name (or “bynh”, or the outside person’s email).summarystringLocalized sentence.actor{name, email}|nullMember who did it.actor_emailstring|nullSet for outside actors (e.g. a subscriber).subject{type, id}|nullMorph type (certificate, document, access_request, report, workspace, …) and id.ip_addressstring|nullRequest IP.user_agentstring|nullRequest user agent.metadataobject|nullAction-specific details.created_atstringISO 8601.
Rate limits
This endpoint counts toward your general limit of 120 requests a minute. When you go over, wait for the number of seconds in Retry-After.
Errors
Every error is JSON with a message. See Errors.