v1

latestOpenAPI 3.1.02026-07-26132433.7 KB
Files

Retrieve a file

File metadata without downloading the JSONL body.

get/v1/files/{file_id}

Path parameters

file_idstring required

Headers

x-project-idstring

Optional project identifier. Scopes the request to a specific project when provided.

Response

File object

idstring

Prefixed with file-.

object'file'
bytesinteger
created_atinteger
filenamestring
purpose'batch' | 'batch_output'

Uploads use batch; batch results use batch_output.

status'uploaded' | 'processed' | 'error'
status_detailsstring
expires_atinteger
is_errorboolean

ZeroGPU extension. true on batch error output files only.