CH·02CLI reference
deeprelay batches errors
Download a batch's error file (JSONL)
Download a batch's error file (JSONL)
Synopsis
Downloads a batch's error file: the lines the endpoint answered with an error (the endpoint's own error is in response.body) and the lines that never ran, with a code such as batch_expired, batch_cancelled or model_not_allowed_for_key. Lines that never ran are not billed.
The command looks up the batch's error_file_id for you. A batch with no error file (it has not finished, or every line succeeded) exits 1 with its current status. --out writes the file with owner-only permissions (0600), exactly as deeprelay batches results does.
Examples
deeprelay batches errors batch_8f2c41d07a9be3615c0d2e7f --out errors.jsonl
deeprelay batches errors <batch-id> [flags]
Options
-h, --help help for errors
--out string Write the JSONL to this file (mode 0600) instead of stdout
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