Skip to main content
GET
cURL
Returns a paginated list of organization-level audit log entries. Use the search, actions, resource_types, date_from, and date_to query parameters to filter results. Unknown query parameters are rejected with a 400 error. For a guided overview of the feature, see the Audit Logs documentation.

Authorizations

x-coderabbitai-api-key
string
header
required

API key for authentication. You can create an API key from the CodeRabbit dashboard.

Query Parameters

Case-insensitive partial match on actor name. Max 200 characters.

Maximum string length: 200
actions
string

Comma-separated list of action keys to filter by. Up to 50 values. Example: repository_create,api_key_delete

resource_types
string

Comma-separated list of resource type keys to filter by. Up to 50 values. Example: repository,api_key

date_from
string<date-time>

Inclusive lower bound for the event timestamp, in ISO 8601 format.

date_to
string<date-time>

Inclusive upper bound for the event timestamp, in ISO 8601 format. Must be on or after date_from.

page
integer
default:1

Page number (1-based). Defaults to 1.

Required range: x >= 1
page_size
integer
default:10

Number of results per page. Defaults to 10, max 100.

Required range: 1 <= x <= 100

Response

A paginated list of audit log entries.

data
object[]
required

List of audit log entries for the current page.

pagination
object
required

Pagination metadata.

filter_options
object
required

Distinct action and resource type values present in the organization's log, useful for building filter UIs.