---
title: "Get file contents"
method: GET
path: "/v1/files/{id}/content"
tags: ["Files"]
---

# Get file contents

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

## Request

- Base URL: `https://api.together.ai`
- URL: `https://api.together.ai/v1/files/{id}/content`
- Auth: HTTP bearer

Get the contents of a single uploaded data file.

## Path parameters

- `id` string, required: The ID of the file to get the content of

## Response `200`

File content retrieved successfully

## Other responses

- `500`: Internal Server Error

## Changes

- **2026-10-22** `bb5257b3173a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/together/apis/together-apis/changes/v1/files/:id/content/get.md)

---

[API](https://skmtc.dev/together/apis/together-apis.md) - [All operations](https://skmtc.dev/together/apis/together-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/together/apis/together-apis/revisions/93438ddac711?raw)
