# List log entries in organization

`GET /v1/organizations/{organization}/logEntries`, operation `auditLog.ListLogEntriesInOrganization`

Lists the entries of an organization's audit logs, about it and its projects, newest first.

Data Access entries are listed only to those who hold auditlog.privateLogEntries.list too, and left out for others, whatever the filter asks. Every call is recorded in the Data Access log, whatever the settings say. Reading audit logs takes a plan that includes them (auditlog.auditLogs), Team or Enterprise: on Hobby or Pro, a call fails with failed_precondition and the reason PLAN_REQUIRED, though kosem still records the organization's changes, which upgrading shows.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |
| `filter` | query | No | `string` | Restricts the entries, as a conjunction (AND) of comparisons (AIP-160): id, cause, principal, service_name, method_name and resource_name with =, such as principal = "user:usr_…" or cause = "log_…" for what a change led to; log_type with = or !=, such as log_type != DATA_ACCESS for changes; status.code with =, or with != as often as needed, such as status.code != 0 for calls that failed, and AND status.code != 1 for those not cancelled; and time with >=, >, <= or < and an RFC 3339 timestamp, such as time >= "2026-10-01T00:00:00Z". Without one, entries of every log the caller may read are listed, reads of the log among them. |
| `pageSize` | query | No | `integer (int32)` | Maximum number of entries to return. Defaults to 50; values above 500 are treated as 500. |
| `pageToken` | query | No | `string` | Page token from a previous response. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `logEntries` | `LogEntry[]` | Yes | Entries, newest first. |
| `nextPageToken` | `string` | Yes | Token for the next page; empty on the last page. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.