Skip to main content

Registry audit

Generated from apiome-rest/openapi.yaml (API version 1.719.0) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: registry-audit · 1 operation

GET /v1/primitives/{tenant_slug}/audit​

List Registry Audit

List type-registry audit events for the tenant, newest first.

Pages by cursor: pass pagination.nextCursor until pagination.hasMore is false. offset is deprecated and cannot be combined with cursor. pagination.total is counted (up to 10,000) only when include_total is set.

Operation id: list_registry_audit_v1_primitives__tenant_slug__audit_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
actionqueryarray of string or nullnoFilter by action (repeat for multiple, e.g. primitive.create).
actorIdquerystring or nullnoFilter by actor user id (UUID).
outcomequerystring or nullnoFilter by outcome: success or failure.
primitiveIdquerystring or nullnoFilter by affected primitive id (UUID).
schemaIdquerystring or nullnoFilter by the affected type's derived $id.
sincequerystring or nullnoInclusive lower bound on createdAt (ISO 8601).
untilquerystring or nullnoInclusive upper bound on createdAt (ISO 8601).
limitqueryintegernoPage size. At most 200.
offsetqueryintegernoRows to skip. Deprecated: page with cursor instead. At most 10,000.
cursorquerystring or nullnoOpaque cursor from the previous page (next_cursor, or the X-Next-Cursor header). Omit for the first page.
include_totalquerybooleannoAlso count the matching rows. Off by default because counting reads every match; the count stops at 10,000.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list registry audit.application/json RegistryAuditPageResponse
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

RegistryAuditPageResponse​

Stable JSON envelope for GET /v1/primitives/{tenant_slug}/audit (schemaVersion bumps on breaking changes).

PropertyTypeRequiredDescription
schemaVersionintegernoBumped only when item or pagination shape changes incompatibly.
itemsarray of RegistryAuditEntryOutyesItems.
paginationRegistryAuditPaginationOutyesPagination.