Audit log
List audit events
GET
/audit-eventsNeedsaudit.viewWho did what, newest first.
Authorization
secretKeyheader
AuthorizationBearer <sk_…>A secret API key from Settings → API keys. It acts with its creator's role.
Query Parameters
action?stringExact action, or area.*.
actorId?integerOnly this member's actions.
actorType?stringuser, api_key, oauth_app, scim or system.
targetType?stringOnly events about this kind of thing.
targetId?stringOnly events about this one thing.
from?stringYYYY-MM-DD (inclusive) or an ISO timestamp.
to?stringYYYY-MM-DD (inclusive) or an ISO timestamp.
cursor?stringnextCursor from the previous page.
limit?integerPage size, 1–200.
Range
1 <= value <= 200Default
50Response Body
OK
application/json- response
events*array<>nextCursor*string|nullShell
curl -X GET 'https://app.cueston.com/api/audit-events'Example Response
JSON
{
"events": [
{
"id": 42,
"action": "string",
"actor": {
"type": "string",
"userId": 0,
"label": "string"
},
"target": {
"type": "string",
"id": "string",
"label": "string"
},
"metadata": {},
"ip": "string",
"userAgent": "string",
"createdAt": "2026-10-26T09:30:00Z"
}
],
"nextCursor": "string"
}Delete an end user's dataDELETE
Deletes everything stored about one of your users in one transaction: events, view state, checklist progress, survey responses, profiles and their entries in delivery logs. Idempotent.
Export audit events as CSVGET
The same filters as the list. At most 100,000 rows; the export itself is audited.