Skip to main content
okra jobs inspects the parse, render, and workflow jobs your other commands create. Jobs are created implicitly — okra upload, okra extract, okra parse, okra render, and the workflow commands all enqueue a job — so the jobs surface is for listing, waiting, and controlling them, not creating them.
okra jobs wait accepts either a job ID or a document ID. Given a document ID, it waits for that document’s latest document.parse job.

Commands

jobs list flags

Combine with the global --json flag for machine-readable output:
When stdout is not a TTY, okra jobs commands emit the standard envelope. For example, okra jobs list --json returns:

jobs wait

jobs cancel, retry, and resume

Only non-terminal jobs can be cancelled; only failed jobs can be retried; only paused jobs can be resumed.
To create work, use a verb command (okra upload, okra extract, okra parse, okra render) rather than okra jobs. Those commands enqueue the job and, by default, wait for it — add --no-wait to queue and follow up with okra jobs wait.