Audit

Retrieve Audit Log Entry

Changed on

Retrieve a specific Audit Log Entry by ID

User must have authorization role with PROVIDER_ADMIN or TENANT_ADMIN suffix

get/v2/org/{org}/nico/audit/{auditEntryId}

Request

  • Base URL
    https://nico-rest-api.nico.svc.cluster.local
  • URL
    https://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/audit/{auditEntryId}
  • Auth
    HTTP bearer

Response

OK

idstring uuid

Unique identifier

endpointstring

API endpoint

queryParamsobject

Query parameters from the request URL, keyed by parameter name. Each value contains all values supplied for that parameter.

methodstring

HTTP method

statusCodeinteger

HTTP response status code

statusMessagestring

HTTP response status message

clientIPstring

Client IP address

userIDstring uuid nullable

User ID that executed the API call

orgNamestring

Organization name

extraDataobject

Extra data in JSON format

timestampstring date-time

API execution time

durationMsinteger

API execution duration in milliseconds

apiVersionstring

API version

Example response

{
  "id": "e313b3ca-c47a-4ec1-a79b-a147fad51a50",
  "endpoint": "/v2/org/test-org-1/nico/ep",
  "queryParams": {
    "test": [
      "1234"
    ]
  },
  "method": "POST",
  "body": {
    "key1": "value1"
  },
  "statusCode": 200,
  "clientIP": "12.123.43.112",
  "userID": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
  "user": {
    "id": "5d9fe319-14d4-40e3-8e5a-7d79e680d55b",
    "firstName": "John",
    "lastName": "Doe",
    "email": "jdoe@test.com"
  },
  "orgName": "test-org-1",
  "timestamp": "2024-12-04T21:06:33.849293-08:00",
  "durationMs": 250,
  "apiVersion": "0.1.91"
}

Changes