oz0 replay start

Usage and flags for oz0 replay start.

For: Operators and developers looking up a command.

Start a replay of the tenant's jobs that finished within --since (7 days by default, never past the namespace's history retention: a longer window is cut to it and the report says so), newest first, at most --max-jobs. Give exactly one candidate:

--policy FILE a whole tool-policy document (JSON, the stored form: read_only, destructive, open_world, undeclared, rules, ...) --promote ID,... shadow rules to make act, by ID (oz0 tenant tool-policy show lists them) --preset NAME a shipped preset (untrusted-then-consequential, confidential-then-egress), or with --preset-rules FILE a proposed level change: a JSON list of tool rules that act with NAME as their origin --budget-usd, --budget-model-calls, --budget-children budget and tree limits per job, decided again from the recorded usage

One replay per tenant runs at a time.

Usage

oz0 replay start (--policy FILE | --promote ID,... | --preset NAME [--preset-rules FILE] | --budget-usd USD ...) [--since 7d] [--agent A] [flags]

Flags

FlagTypeDefaultDescription
--agentstringonly this agent's or flow's jobs
--budget-childrenint32the most child jobs one job may start
--budget-model-callsint32the most model calls one job may make
--budget-usdfloatthe most one job may spend on model calls, in dollars
--jsonboolprint JSON instead of a table
--kindstringpolicythe replay's kind
--max-jobsint322000, at most 10000at most this many jobs, newest first
--pluginstringonly the jobs of this plugin's agents and flows
--policystringa whole tool-policy document, as JSON
--pollduration2swith --wait, how often to look
--presetstringa shipped preset, or the name of the level change --preset-rules proposes
--preset-rulesstringa JSON list of tool rules: a proposed level change
--promotestringsIDs of shadow rules to make act
--sincestring7d; cut to the history retentionhow far back to read finished jobs: 7d, 36h, 90m
--tenantstringdefaulttenant
--waitboolwait for the report and print it

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.

On this page
Copyright © 2026