---
title: "Retrieve File Content"
method: GET
path: "/api/files/{file_id}/content/"
tags: ["openAiBatch"]
---

# Retrieve File Content

`GET /api/files/{file_id}/content/`

Retrieve file info from the provider.

GET /api/files/ - List all files
GET /api/files/{file_id}/ - Get file metadata
GET /api/files/{file_id}/content/ - Get file content

## Path parameters

- `file_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

No response body

- OpenAIBatchRetrieveFileContentResponse200 — Empty response body

## Changes

- **2026-07-31** `c26d550029f8` — 1 breaking, 3 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`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/files/:file_id/content/get.md)

---

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