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

# Returns the contents of the specified file.

`GET /openai/v1/files/{file_id}/content`

## Path parameters

- `file_id` string, required

## Response `200`

OK

## Changes

- **2025-04-22** `37498d19ece8` — 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`
- **2025-01-29** `c5b2589925cd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/groq/apis/groqcloud-api/changes/openai/v1/files/:file_id/content/get.md)

---

[API](https://skmtc.dev/groq/apis/groqcloud-api.md) · [All operations](https://skmtc.dev/groq/apis/groqcloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/groq/groqcloud-api/revisions/ea91f46f212a/schema)
