Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl batches wait

Wait for a batch to finish, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.

orl batches wait <id>

Polls the batch, backing off from --interval to once a minute, and prints progress on stderr (or, with --ndjson, one orl.event/v1 line per change on stdout). Exits 0 when the batch completes, 13 when it fails, expires or is cancelled, and 9 when --timeout passes first; the batch keeps running, so run the same command again to resume. Under --json the final batch object is printed in every case.

Flags

FlagTypeRequired
--timeoutstringnostop waiting after this long (exit 9), e.g. 30m; over MCP at most 10m, default 60s
--intervalstringnofirst poll interval (default 5s; it backs off to 60s)
--ndjsonboolnoprint one orl.event/v1 JSON line per change on stdout

On this page