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

# Retrieve File

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

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

- OpenAIBatchRetrieveFileResponse200 — Empty response body

## Changes

- **2026-07-31** `c26d550029f8` — 2 breaking, 6 warning, 2 info
  - removed the required property `id` from the response with the `200` status
  - removed the required property `object` from the response with the `200` status
  - removed the optional property `bytes` from the response with the `200` status
  - removed the optional property `created_at` from the response with the `200` status
  - …6 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/files/:file_id/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)
