v17

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-0491166902.9 KB
Audit Logs

Get Audit Logs

Retrieve audit logs as a cursor-paginated list. Results can be filtered by time range, event type, and organization.

get/api/audit/entries

Query parameters

afterstring date-time

Return logs after this timestamp (ISO 8601).

beforestring date-time

Return logs before this timestamp (ISO 8601).

typesstring[]

Filter by event type (e.g. service.create, security.login, client.create). Can be specified multiple times. The set of available event types is environment-specific and includes server-side types; retrieve the full list from the /api/audit/types endpoint.

[
  "service.create"
]
organizationIdinteger

The organization to retrieve audit logs for. Not required when authenticating with an organization token — the token's own organization is used, and a differing value is rejected. Required for user access tokens, unless the user is an Authlete administrator (administrators may omit it to query across all organizations).

limitinteger

The maximum number of entries to return per page. Values outside the allowed range are clamped; the effective value is echoed back in the response.

cursorstring

An opaque cursor returned as nextCursor by a previous response. When provided, it takes precedence over the before parameter.

Response

A page of audit log entries matching the query.

nextCursorstring nullable

An opaque cursor pointing at the next page. Pass this value as the cursor parameter of the next request to fetch the following page. Absent or null on the last page.

limitinteger

The effective page size limit applied to this response. May differ from the requested limit if the requested value was outside the allowed range.