---
title: "Download file content"
method: GET
path: "/workspaces/{workspace_id}/files/{file_id}/content"
tags: ["files"]
---

# Download file content

`GET /workspaces/{workspace_id}/files/{file_id}/content`

Streams the file content for download

## Path parameters

- `workspace_id` string, required
- `file_id` string, required

## Response `200`

File content

## Other responses

- `400` — Invalid workspace ID or file ID
- `401` — Unauthorized - missing or invalid authentication
- `403` — Access denied - user does not have access to this workspace
- `404` — File not found
- `500` — Internal server error

---

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