v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01144108427.9 KB
Authorization

List Audit Log

Return a paginated slice of the audit log filtered by the given query params.

Superuser only. The composite indexes on (user_id, timestamp) and (resource_type, resource_id) keep both "show me events for user X" and "show me events on resource Y" fast at scale.

get/api/v1/authz/audit

Query parameters

user_idstring uuid nullable

Filter by acting user id.

Filter by acting user id.

resource_typestring nullable

Filter by resource type slug, e.g. flow or deployment.

Filter by resource type slug, e.g. flow or deployment.

resource_idstring uuid nullable

Filter by resource UUID.

Filter by resource UUID.

actionstring nullable

Filter by action string, e.g. flow:read or share:create.

Filter by action string, e.g. flow:read or share:create.

resultstring nullable

Filter by decision result (allow / deny / owner_override).

Filter by decision result (allow / deny / owner_override).

sincestring date-time nullable

Inclusive lower bound on timestamp.

Inclusive lower bound on timestamp.

untilstring date-time nullable

Exclusive upper bound on timestamp.

Exclusive upper bound on timestamp.

pageinteger
sizeinteger

Response

Successful Response

pageinteger required
pagesinteger required
sizeinteger required
totalinteger required