---
source_url: https://www.pubnub.com/docs/admin-api/list-audit-log-entries
title: List audit log entries
---

# List audit log entries

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

Lists the audit log entries of the account that owns the credential.

**Requirements:**

* The credential must carry the account-level `audit-log:read` permission. Service integrations created before this permission existed have to be recreated with the Audit Log resource.
* The account must be on a paid plan. Free-tier accounts receive a `403` plan-required error.

Entries can be filtered by event type and time range, are ordered by timestamp and are paged with a cursor.

## Request

Example

```
{
  "data": [
    {
      "id": "string",
      "timestamp": "string",
      "initiator": {
        "type": "User",
        "id": "string"
      },
      "eventType": "string",
      "labels": {},
      "correlationId": "string",
      "authentication": "string",
      "client": "CLI"
    }
  ],
  "count": 0,
  "nextCursor": "string"
}
```

Example

```
{
  "statusCode": 0,
  "error": "BadRequest",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "Unauthorized",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "Forbidden",
  "message": [
    "string"
  ]
}
```

Example

```
{
  "statusCode": 0,
  "error": "InternalError",
  "message": [
    "string"
  ]
}
```
