v1

latestOpenAPI 3.1.02026-08-041529124.1 KB
Audit Logs

List audit logs

Retrieve a paginated list of admin audit logs. Supports filtering by date range and action types.

get/v2/audit-logs

Query parameters

page_afterstring

Page cursor for pagination

page_sizeinteger

Number of results per page (max 1000)

start_datestring date-time

Filter audit logs from this date (inclusive, ISO 8601 format)

end_datestring date-time

Filter audit logs until this date (inclusive, ISO 8601 format)

{"stackTrail":"paths:/v2/audit-logs:get:parameters:4:schema:items","oasType":"schema","type":"unknown"}

Filter by specific action types (e.g., CREATED_TRAINING_CAMPAIGN, SCHEDULED_TRAINING_CAMPAIGN, ADDED_ADMIN)

Response

Successfully retrieved audit logs

page_afterstring

Cursor for the next page of results. Null if this is the last page

Example response

{
  "audit_logs": [
    {
      "action": "CREATED_TRAINING_CAMPAIGN",
      "actor": {
        "email": "admin@example.com",
        "id": "a1b2c3d4-e5f6-7a8b-9c0d-e1f2a3b4c5d6",
        "role": "ACCOUNT_OWNER"
      },
      "category": "SAT_PROGRAM",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "message": "Created training campaign.",
      "occurred_at": "2024-12-01T14:30:00Z",
      "subcategory": "TRAINING",
      "success": true
    }
  ],
  "page_after": "456e7890-f12b-34c5-d678-901234567890"
}