Files

Returns the contents of the specified file.

get/openai/v1/files/{file_id}/content

Path parameters

file_idstring required

The ID of the file to use for this request.

Response

OK

Changes

Changed in 2 of the 43 revisions of this API.12

  • 37498d19ece811See the full diff
    • removed the media type application/json for the response with the status 200

      response-media-type-removed

    • added the media type application/octet-stream for the response with the status 200

      response-media-type-added

    • endpoint added

      endpoint-added