---
title: "Retrieve file content"
method: GET
path: "/v1/files/{file_id}/content"
tags: ["Files"]
---

# Retrieve file content

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

Retrieve file content

## Path parameters

- `file_id` string, required — The ID of the file to retrieve content from.

## Response `200`

The file content.

- string

## Other responses

- `400` — The request was invalid or malformed
- `429` — The client has sent too many requests in a given amount of time
- `500` — The server encountered an unexpected error
- `default` — An error occurred

---

[API](https://skmtc.net/ogx-ai/apis/ogx-specification-stable-experimental-apis.md) · [All operations](https://skmtc.net/ogx-ai/apis/ogx-specification-stable-experimental-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ogx-ai/ogx-specification-stable-experimental-apis/revisions/f3f783962256/schema)
