---
title: "Download a file from the database"
method: POST
path: "/documents/download"
tags: ["documents"]
---

# Download a file from the database

`POST /documents/download`

## Request body

- FilePath
  - `file_path` string, required — The path of the file to delete

## Response `200`

Document downloaded successfully

- DownloadResponse
  - `content` string, binary, required

## Other responses

- `400` — Failed to download document

---

[API](https://skmtc.dev/structifyai/apis/structify.md) · [All operations](https://skmtc.dev/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/structifyai/structify/revisions/1364930b6980/schema)
