CH·02CLI reference
deeprelay batches get
Show a batch: status, counts, schedule and cost
Show a batch: status, counts, schedule and cost
Synopsis
Shows one batch: its status, the request counts (completed, failed, cancelled, expired and remaining out of the total), and when and at what rate it runs.
Paused— why the batch is waiting, when it is:peak_window(between off-peak windows), a balance or spending-limit code (it resumes by itself after a top-up or a raised limit), or an upstream back-offScheduled for,Current windowandNext window— when it started, the off-peak window it is running in now, and when it resumes if pausedEstimated completion— an estimate from the batch's place in the queue, the window schedule and the observed drain rate; blank until there is a rate to estimate from, and never a promiseExpires— lines that have not run by then go to the error file, unbilledRate,Estimated costandCost so far— the rate its lines bill at, the estimate made at submit, and what has actually been chargedOutput file/Error file— set once the batch finishes; download them withdeeprelay batches resultsanddeeprelay batches errors
A batch id you do not own reads the same as one that does not exist.
Examples
deeprelay batches get batch_8f2c41d07a9be3615c0d2e7f
# Just the status, for a script
deeprelay batches get batch_8f2c41d07a9be3615c0d2e7f -o json | jq -r .status
deeprelay batches get <batch-id> [flags]
Options
-h, --help help for get
Options inherited from parent commands
--api-base string API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
--debug Enable debug logging to stderr
--no-preflight Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
-o, --output string Output format: table|json (default table on TTY, json otherwise) (default "table")
SEE ALSO
- deeprelay batches - Submit and track off-peak batches