---
title: "Retrieve container file content"
method: GET
path: "/containers/{container_id}/files/{file_id}/content"
---

# Retrieve container file content

`GET /containers/{container_id}/files/{file_id}/content`

## Request

- Base URL: `https://api.openai.com/v1`
- URL: `https://api.openai.com/v1/containers/{container_id}/files/{file_id}/content`
- Auth: HTTP bearer

Retrieve Container File Content

## Path parameters

- `container_id` string, required
- `file_id` string, required

## Response `200`

Success

## Other responses

- `404`: The container was not found or has expired, or the file was not found in the container.
- `429`: The request was rejected because a rate limit was exceeded.

## Changes

- **2026-10-06** `487892d3954e`: 2 info
  - added the optional property `error/misalignment/review_target` to the response with the `404` status
  - added the optional property `error/misalignment/review_target` to the response with the `429` status
- **2026-10-05** `7f654af7f94f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnistack-sh/apis/openai-api/changes/containers/:container_id/files/:file_id/content/get.md)

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
