---
title: "Gets the content of the file specified by the given file-id.
Files can be user uploaded content or generated by the service like result metrics of a fine-tune job."
method: GET
path: "/files/{file-id}/content"
tags: ["Files:"]
---

# Gets the content of the file specified by the given file-id.
Files can be user uploaded content or generated by the service like result metrics of a fine-tune job.

`GET /files/{file-id}/content`

## Path parameters

- `file-id` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- string, binary

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-azureopenai-authoring.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-azureopenai-authoring/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-azureopenai-authoring/versions/b177dc430e39/schema)
