---
title: "Download a project file"
method: GET
path: "/api/v2/programmatic/projects/{projectId}/files/{fileId}"
tags: ["Projects"]
---

# Download a project file

`GET /api/v2/programmatic/projects/{projectId}/files/{fileId}`

Returns raw file bytes with content headers forwarded from Design Engine. Successful download responses are not wrapped in the JSON success envelope used by other project read endpoints.

## Path parameters

- `projectId` string, required
- `fileId` string, required

## Query parameters

- `branch` string

## Response `200`

Raw file bytes. This response is not a JSON envelope.

## Other responses

- `401` — Missing, invalid, expired, or inactive API key.
- `403` — Caller is authenticated but not authorized.
- `404` — File does not exist in the project.
- `429` — API key request rate exceeded.
- `500` — Unexpected server error.
- `503` — Project acquisition unavailable. Common error codes include `PROJECT_NOT_READY`, `SERVICE_UNAVAILABLE`, and `SERVER_NOT_AVAILABLE`.

---

[API](https://skmtc.dev/davinci-app/apis/davinci-public-api.md) · [All operations](https://skmtc.dev/davinci-app/apis/davinci-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/davinci-app/davinci-public-api/revisions/d6e554d88cf6/schema)
