cli-batches

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.

SKILL.md

GitHub
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

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.

Quick install

npm install -g nextroute   # or: npx nextroute
nextroute --version

Subcommands

batches

Example:

nextroute batches

batches list

Flags:

  • --status <s>
  • --limit <n>

Example:

nextroute batches list

batches get <batchId>

Example:

nextroute batches get <batchId>

batches create

Flags:

  • --endpoint <e>
  • --completion-window <w>
  • --metadata <kv>

Example:

nextroute batches create

batches submit

Flags:

  • --endpoint <e>
  • --wait

Example:

nextroute batches submit

batches cancel <batchId>

Flags:

  • --yes

Example:

nextroute batches cancel <batchId>

batches wait <batchId>

Flags:

  • --timeout <ms>

Example:

nextroute batches wait <batchId>

batches output <batchId>

Flags:

  • --out <path>

Example:

nextroute batches output <batchId>

batches errors <batchId>

Flags:

  • --out <path>

Example:

nextroute batches errors <batchId>

files

Example:

nextroute files

files list

Flags:

  • --purpose <p>
  • --limit <n>

Example:

nextroute files list

files get <fileId>

Example:

nextroute files get <fileId>

files upload <path>

Example:

nextroute files upload <path>

files content <fileId>

Flags:

  • --out <path>

Example:

nextroute files content <fileId>

files delete <fileId>

Flags:

  • --yes

Example:

nextroute files delete <fileId>