---
title: "Returns the contents of the specified file."
method: GET
path: "/files/{file_id}/content"
tags: ["Files"]
---

# Returns the contents of the specified file.

`GET /files/{file_id}/content`

## Path parameters

- `file_id` string, required

## Response `200`

OK

- string

## Changes

- **2026-07-15** `c3b00c1e23c8` — 1 breaking, 1 info
  - removed the media type `application/octet-stream` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`
- **2026-07-15** `4065aec90c5d` — 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `200`
  - added the media type `application/octet-stream` for the response with the status `200`

[Change history](https://skmtc.dev/openai/apis/openapi/changes/files/:file_id/content/get.md)

---

[API](https://skmtc.dev/openai/apis/openapi.md) · [All operations](https://skmtc.dev/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openai/openapi/revisions/b8872c4a90ea/schema)
