AI Gateway

GET /ai/v1/files/{file_id}/content

Changed on

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • 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