Audit Logs

List audit log events for the calling client (newest first, cursor-paginated).

Changed on
get/admin/api/v1/audit-logs

Request

  • Base URL
    https://dashboard-prd-eus2-api-app.azurewebsites.net
  • URL
    https://dashboard-prd-eus2-api-app.azurewebsites.net/admin/api/v1/audit-logs
  • Auth
    HTTP bearer

Query parameters

fromstring date-time

Optional inclusive lower bound (ISO 8601 UTC). Cannot be older than the online retention window.

tostring date-time

Optional inclusive upper bound (ISO 8601 UTC). Cannot be older than the online retention window.

eventTypesstring

Optional comma-separated event type filter, e.g. api_key.created,api_key.deleted. Omit or leave blank to match all types; unknown types simply match nothing. At most 50 distinct values.

environmentstring

Optional filter: Sandbox or Production. Omit to return both.

cursorstring

Opaque continuation cursor from a previous response's nextCursor.

pageSizeinteger

Page size (default 50, maximum 500; values outside the range are clamped).

Response

Page of audit events

status'ok' | 'serverFailure' | 'permissionDenied' | 'badRequest' | 'notFound' | 'conflict' | 'tooManyRequest' | 'locked' | 'unavailableForLegalReasons' | 'serviceUnavailable'
messagestring nullable

A message generated by the API

displayMessagestring nullable

User-friendly display message that can be presented to the end user

errorHashstring nullable

An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping

teamCodestring nullable

Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS. Format: 2-character code (e.g., "7K", "M2"). Use for alerting/routing, not display.

errorTypestring nullable

Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation. All possible error types are available in the documentation.

errorDataunknown

Example response

{
  "content": {
    "items": [
      {
        "id": "8f4e2c1a-9b7d-4f3e-a2c5-1d6e8b9a0c3f",
        "timestamp": "2026-07-27T14:03:22Z",
        "eventType": "api_key.created",
        "environment": "Production",
        "actor": {
          "type": "user",
          "id": "c2a1e5f0-3b8d-4c7e-9f2a-6d1b4e8c0a5d",
          "email": "ops@example.com"
        },
        "target": {
          "type": "api_key",
          "id": "7d3b9f2e-1c5a-4e8d-b6f0-9a2c4e7d1b8f",
          "name": "prod-read-only"
        },
        "sourceIp": "203.0.113.4"
      }
    ],
    "nextCursor": "MTc4NDcxMzcwMjQ3MDo4ZjRlMmMxYS05YjdkLTRmM2UtYTJjNS0xZDZlOGI5YTBjM2Y",
    "hasMore": true
  }
}

Changes