AI Gateway
get/ai/v1/files/{file_id}/content
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/ai/v1/files/{file_id}/content
- Auth: HTTP bearer
Path parameters
file_idstring required
Provider file id, e.g. a batch's output_file_id
Response
File content (JSONL for batch files), streamed
Changes
- info
endpoint added
- info