CH·02CLI reference
deeprelay files
Upload and manage batch input and result files
Upload and manage batch input and result files
Synopsis
Upload and manage the files an off-peak batch reads and writes, over the OpenAI-compatible /v1/files endpoints. These are the only files deeprelay stores:
batch— a JSONL input file you upload withdeeprelay files upload, one request per line (seedeeprelay batchesfor the line format)batch_output/batch_error— the result files deeprelay writes when a batch finishes;deeprelay batches resultsanddeeprelay batches errorsdownload them by batch id
Batch files hold your request content and the model's output, so they have a fixed lifetime and a real delete. They are encrypted at rest and kept for 30 days after the batch finishes, then deleted; deeprelay files delete removes one immediately. An admin or full_access key can reach every batch file in the organization; any other key only the files it uploaded and the results of batches it created.
deeprelay files [command]
Examples
deeprelay files upload --file requests.jsonl
deeprelay files list --purpose batch_output
deeprelay files content file-abc123 --out output.jsonl
deeprelay files delete file-abc123
Options
-h, --help help for files
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 - deeprelay command-line interface
- deeprelay files content - Download a file's content
- deeprelay files delete - Delete a file and its content now
- deeprelay files get - Show one file's metadata
- deeprelay files list - List your batch files, newest first
- deeprelay files upload - Upload a JSONL file for a batch