---
title: "Get file content (OpenAI format)"
method: GET
path: "/openai/v1/files/{file_id}/content"
tags: ["OpenAI Integration"]
---

# Get file content (OpenAI format)

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

Retrieves the content of an uploaded file.

**Note:** This endpoint also works without the `/v1` prefix (e.g., `/openai/files/{file_id}/content`).

## Path parameters

- `file_id` string, required

## Query parameters

- `provider` string

## Response `200`

Successful response

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/getbifrost/apis/bifrost-api.md) · [All operations](https://skmtc.net/getbifrost/apis/bifrost-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbifrost/bifrost-api/versions/f8cab88f64ea/schema)
