Files

Get file content

Downloads the content of a file, including training data or result metrics

get/openai/files/{file_id}/content

Request

  • Base URL
    https://your-resource.openai.azure.com
  • URL
    https://your-resource.openai.azure.com/openai/files/{file_id}/content
  • Auth
    API key in header api-key

Path parameters

file_idstring required

The ID of the file

Query parameters

api-version'2024-02-01' | '2023-12-01-preview' | '2023-10-01-preview' required

API version to use

Response

Successfully retrieved file content

Changes

No recorded changes to this operation across all 1 revision of this API.