Read the rule/category change audit log (console plane)
GET /v1/admin/orgs/{org_id}/projects/{project_id}/rules/audit
The human-facing change/undo audit log spanning rules AND categories (D11), optionally narrowed to one entity. Console-only (Clerk-authed); the safety net for the shared/house-style rule governance. Undo a row via POST /v1/admin/rules/audit/{udo_id}/undo.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Narrow to one entity kind.
Narrow to one entity (rule_… or cat_…).
Responses
Section titled “ Responses ”Ok
object
One append-only rule/category change & undo audit row (udo_…). before_json / after_json carry the snapshot enabling an undo. undo = a later ‘restore’ entry; this row’s undone flips true when it has been undone.
object
Opaque audit id (udo_…).
Rule_… (lineage head) or cat_….
JSON snapshot of the prior version.
JSON snapshot of the new version.
Missing or invalid credential.
The canonical error envelope. error is a stable machine code.
object
Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).
Example
forbiddenHuman-readable detail (never leaks internals).
Example
missing required scopeAuthenticated but lacking the required scope, or out of quota.
The canonical error envelope. error is a stable machine code.
object
Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).
Example
forbiddenHuman-readable detail (never leaks internals).
Example
missing required scope