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

# Download file content

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

## Path parameters

- `id` string, required

## Query parameters

- `provider` string

## Response `200`

Raw file content

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `502` — Bad Gateway

## Changes

- **2026-08-22** `496ff50bdfef` — 4 info
  - added the optional property `error/provider` to the response with the `400` status
  - added the optional property `error/provider` to the response with the `401` status
  - added the optional property `error/provider` to the response with the `404` status
  - added the optional property `error/provider` to the response with the `502` status
- **2026-04-19** `1a90f5d80e5a` — 24 warning, 4 info
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `401` status
  - removed the optional property `code` from the response with the `404` status
  - removed the optional property `code` from the response with the `502` status
  - …24 more

[Change history](https://skmtc.dev/enterpilot/apis/gomodel-api/changes/v1/files/:id/content/get.md)

---

[API](https://skmtc.dev/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.dev/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/496ff50bdfef/schema)
