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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
action | query | array of string or null | no | Filter by action (repeat for multiple, e.g. primitive.create). |
actorId | query | string or null | no | Filter by actor user id (UUID). |
outcome | query | string or null | no | Filter by outcome: success or failure. |
primitiveId | query | string or null | no | Filter by affected primitive id (UUID). |
schemaId | query | string or null | no | Filter by the affected type's derived $id. |
since | query | string or null | no | Inclusive lower bound on createdAt (ISO 8601). |
until | query | string or null | no | Inclusive upper bound on createdAt (ISO 8601). |
limit | query | integer | no | Page size. At most 200. |
offset | query | integer | no | Rows to skip. Deprecated: page with cursor instead. At most 10,000. |
cursor | query | string or null | no | Opaque cursor from the previous page (next_cursor, or the X-Next-Cursor header). Omit for the first page. |
include_total | query | boolean | no | Also count the matching rows. Off by default because counting reads every match; the count stops at 10,000. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for list registry audit. | application/json RegistryAuditPageResponse |
| 422 | Validation Error | application/json HTTPValidationError |
Schemas used
HTTPValidationError
Validation error response emitted when request data fails schema checks.
| Property | Type | Required | Description |
|---|---|---|---|
detail | array of ValidationError | no | Detail. |
RegistryAuditPageResponse
Stable JSON envelope for GET /v1/primitives/{tenant_slug}/audit (schemaVersion bumps on breaking changes).
| Property | Type | Required | Description |
|---|---|---|---|
schemaVersion | integer | no | Bumped only when item or pagination shape changes incompatibly. |
items | array of RegistryAuditEntryOut | yes | Items. |
pagination | RegistryAuditPaginationOut | yes | Pagination. |