batch

Download file content

Stream a file's bytes. For a batch output file every line is a BatchOutputLine; for an error file every line is a BatchErrorLine; for an input file you uploaded, every line is a BatchInputLine. Lines are not in input order, so join on custom_id. Served as application/octet-stream with a Content-Disposition attachment header.

get/v1/files/{file_id}/content

Path parameters

file_idstring required

The file_ prefixed id to download: your upload, or a batch's output_file_id / error_file_id.

Example:file_9c2c1c3e-5b6a-4f0e-8d0f-2a1b3c4d5e6f

Identifies the file to download.

Response

The file body, one JSON object per line.

Changes

Changed in 1 of the 3 revisions of this API.1