Skip to Content
Xeonr Developer Docs

List Audit Logs

POST
/xeonr.auth.private.v1.AuditService/ListAuditLogs

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

pageSize?integer
Formatint32
pageToken?string
eventType?string
actorId?string
ipAddress?string
target?string

Matches a target id or an attempted identifier (email/username).

outcome?string
startTime?string

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (Z); input may use an offset from UTC.

Formatdate-time
endTime?string

A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (Z); input may use an offset from UTC.

Formatdate-time
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.AuditService/ListAuditLogs" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "entries": [
    {
      "id": "string",
      "organisationId": "string",
      "eventType": "string",
      "outcome": "string",
      "actorType": "string",
      "actorId": "string",
      "actorLabel": "string",
      "targetType": "string",
      "targetId": "string",
      "attemptedIdentifier": "string",
      "failureReason": "string",
      "ipAddress": "string",
      "geoLocation": "string",
      "userAgent": "string",
      "traceId": "string",
      "metadataJson": "string",
      "createdAt": "2023-01-15T01:30:15.01Z"
    }
  ],
  "nextPageToken": "string",
  "total": "string"
}