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

# GET /documents/v1/files/{id}

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

## Path parameters

- `id` string, required

## Response `200`

Download a file

- DownloadFileResponse
  - `location` string, required
  - `filename` string, required
  - `mimeType` string, required
  - `pageCount` integer, required
  - `fileSize` integer, nullable

## Other responses

- `401` — Unauthorized. Invalid or missing credentials
- `403` — Forbidden. You do not have permission to access this resource
- `404` — File not found
- `500` — Internal server error

---

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