Audit API
Get audit logs
View audit trail of organization actions. Requires admin permissions.
GET
bearerAuthheader
AuthorizationBearer <token>Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.
page?integerPage number for pagination
Range
1 <= valueDefault
1limit?integerItems per page
Range
1 <= value <= 100Default
10action?stringFilter by action type
cursor?stringKeyset cursor from pagination.nextCursor of the previous response. Stable while new entries arrive; when present, page is ignored and the response carries totalCount, limit, hasNext and nextCursor only. An invalid cursor returns 400.
Audit log entries
application/json- response
success?booleandata?curl -X GET 'https://demo.supercheck.dev/api/audit'Example Response
{ "success": true, "data": { "logs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "action": "string", "details": {}, "createdAt": "2019-08-24T14:15:22Z", "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email": "string", "image": "string" } } ], "pagination": { "currentPage": 0, "totalPages": 0, "totalCount": 0, "limit": 0, "hasNext": true, "hasPrev": true, "nextCursor": "string" }, "filters": { "actions": [ "string" ] }, "organizationId": "string" }}