Read the rule/category change audit log (agent plane, read-only)
GET /v1/rules/audit
The append-only change/undo audit log spanning rules AND categories (D11), optionally narrowed to one entity. Read-only and agent-visible (the audit log is the shared safety net). Each row carries the before/after snapshot enabling an undo via POST /v1/rules/audit/{udo_id}/undo.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ 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