Organization audit log endpoints
List organization audit logs
List the organization's audit log, newest first, with cursor pagination. Filtering by resource_type=pipeline with a resource_id returns the pipeline's merged history: the pipeline's own changes plus changes to the components — and the secrets those components referenced — scoped to the time windows in which the pipeline actually used them. Rows self-identify via resource.type. Audit visibility is organization-wide under organization:logs:read: the merged feed surfaces nothing the caller could not query directly by resource. Gated by the resource_audit_logs feature flag.
path Parameters
organization_idOrganization ID
query Parameters
limitPage size (default 50, max 100)
cursorOpaque cursor from a previous response; filters are carried by the cursor
resource_typeFilter by resource type (e.g. input, output, transform, enrichment, pipeline, secret); alone it returns all rows of that type
resource_idFilter by resource ID; requires resource_type
actor_idFilter by actor ID
actionFilter by action (insert, update, delete)
fromOnly rows at or after this RFC3339 timestamp
toOnly rows before this RFC3339 timestamp
List organization audit logs › Responses
One page of audit logs
Audit log change histogram
Bucketed change counts over [from, to) for the audit timeline. For resource_type=pipeline (or a component type) with a resource_id, counts span the same merged feed as the list endpoint. Each non-empty bucket carries per-action and per-resource-type breakdowns; the response also includes the total and the true earliest/latest event times across all history (ignoring from/to). Gated by the resource_audit_logs feature flag.
path Parameters
organization_idOrganization ID
query Parameters
fromBucket window start (inclusive), RFC3339
toBucket window end (exclusive), RFC3339
bucketsNumber of equal-width buckets (default 100, max 500)
resource_typeFilter by resource type; with resource_id selects the merged feed
resource_idFilter by resource ID; requires resource_type
actor_idFilter by actor ID
actionFilter by action (insert, update, delete)
Audit log change histogram › Responses
Bucketed change counts
bucket_secondsearliest_occurred_atlatest_occurred_attotal