---
title: "Add a new file to the database"
method: POST
path: "/documents/upload"
tags: ["documents"]
---

# Add a new file to the database

`POST /documents/upload`

## Query parameters

- `dataset` string, nullable
- `project_id` string, uuid

## Response `200`

Document added successfully

---

[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)
