skills/cli-batches/SKILL.md
Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.
npm install -g omniroute # or: npx omniroute
omniroute --version
batchesExample:
omniroute batches
batches listFlags:
--status <s>--limit <n>Example:
omniroute batches list
batches get <batchId>Example:
omniroute batches get <batchId>
batches createFlags:
--endpoint <e>--completion-window <w>--metadata <kv>Example:
omniroute batches create
batches submitFlags:
--endpoint <e>--waitExample:
omniroute batches submit
batches cancel <batchId>Flags:
--yesExample:
omniroute batches cancel <batchId>
batches wait <batchId>Flags:
--timeout <ms>Example:
omniroute batches wait <batchId>
batches output <batchId>Flags:
--out <path>Example:
omniroute batches output <batchId>
batches errors <batchId>Flags:
--out <path>Example:
omniroute batches errors <batchId>
filesExample:
omniroute files
files listFlags:
--purpose <p>--limit <n>Example:
omniroute files list
files get <fileId>Example:
omniroute files get <fileId>
files upload <path>Example:
omniroute files upload <path>
files content <fileId>Flags:
--out <path>Example:
omniroute files content <fileId>
files delete <fileId>Flags:
--yesExample:
omniroute files delete <fileId>