Retrieve file content

Download the content of a file. For batch output files, returns JSONL with results for each request.

Path parameters

file_idstringRequired

The unique identifier of the file whose content you want to download. Format: file-xxxxx

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Response

File content (JSONL for batch output files).

Errors

401
Unauthorized Error
404
Not Found Error