---
title: "Upload Documents"
method: POST
path: "/threads/{thread_id}/documents"
tags: ["Threads"]
---

# Upload Documents

`POST /threads/{thread_id}/documents`

## Request

- Base URL: `https://api.puppeteerai.com`
- URL: `https://api.puppeteerai.com/threads/{thread_id}/documents`
- Auth: none declared. Required headers: `Authorization`

## Path parameters

- `thread_id` string, nullable, required

## Headers

- `Authorization` string, required

## Request body `multipart/form-data`

- BodyUploadDocumentsThreadsThreadIdDocumentsPost
  - `project_id` string, required
  - `documents` string[]
  - `documents[]` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api.md) - [All operations](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/revisions/94b4e928b42f?raw)
