Supercheck LogoSupercheck
Audit API

Get audit logs

View audit trail of organization actions. Requires admin permissions.

GET
/api/audit

Authorization

bearerAuth
headerAuthorizationBearer <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.

Query Parameters

page?integer

Page number for pagination

Range1 <= value
Default1
limit?integer

Items per page

Range1 <= value <= 100
Default10
action?string

Filter by action type

cursor?string

Keyset 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.

Response Body

Audit log entries

application/json
  1. response
success?boolean
data?
Example Request
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"  }}