Rotate the audit trail
Retires the current trail into an immutable read-only segment and opens a fresh one, preserving every byte — never renumbering, re-hashing or repairing. The only way out of a forked history, and never automatic. The request must name the trail identity, content digest and byte count it believes it is retiring (read them from the diagnostic export); a mismatch is refused with nothing touched. A repeated intentId replays the recorded receipt instead of rotating again. The permanent per-day rollup survives. Free at every tier, because a forked trail has stopped recording and this is what resumes it; refused for unauthenticated loopback callers. Requires system:control scope.
Request
- Base URL: http://localhost:9998
- URL: http://localhost:9998/v1/audit/tools/rotate
- Auth: HTTP bearer
Request body
Response
Rotation receipt (rotated=false when a recorded intent was replayed)
Changes
No recorded changes to this operation across all 1 revision of this API.