oz0 retention

Retention is set per tenant: after it, the retention job deletes the tenant's audit entries, job summaries, usage rows and payloads.

For: Operators and developers looking up a command.

Retention is set per tenant: after it, the retention job deletes the tenant's audit entries, job summaries, usage rows and payloads. An agent marked high-risk in the inventory keeps its entries at least 184 days (six months); younger entries of other agents lose their content instead. A legal hold stops retention and erasure for the tenant until it is lifted.

Usage

oz0 retention [command]

Subcommands

Flags

FlagTypeDefaultDescription
--tenantstringdefaultthe tenant

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

Copyright © 2026