> ## Documentation Index
> Fetch the complete documentation index at: https://docs.originalis.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Document Inputs

> Analyze from a DocSend link, an uploaded deck, or a data room — not just a website.

Analysis takes three input shapes beyond a website URL.

## Hosted document links

`POST /deals/analyze` accepts `document_url` instead of `website_url`:
DocSend, Notion, Canva, Dropbox, Google Drive, Figma, and Gamma links.

```bash theme={null}
curl -X POST -H "X-API-Key: $KEY" -H "Content-Type: application/json" \
  -d '{"document_url": "https://docsend.com/view/abc123", "document_password": "s3cret"}' \
  "https://api.originalis.ai/api/v1/deals/analyze"
```

Exactly one of `website_url` / `document_url` per request. Unsupported
hosts return `400`.

<Note>
  **DocSend email verification** is handled server-side: when the deck
  requires it, the `202` reports `verification_required: true` and
  Originalis completes the handshake through the key user's connected
  inbox (or emails them a verification request). The analysis proceeds
  once verified — no extra API calls needed.
</Note>

## File uploads

`POST /deals/analyze/upload` takes a multipart file — PDF, PPT/PPTX, or
DOC/DOCX, up to 50 MB. Office formats are converted to PDF automatically.

```bash theme={null}
curl -X POST -H "X-API-Key: $KEY" \
  -F "file=@series-a-deck.pdf" \
  -F "kind=company" \
  -F "company_name=Acme Robotics" \
  "https://api.originalis.ai/api/v1/deals/analyze/upload"
```

Same `202` contract as every action: poll `status_url`, read the deal at
`result_url`. Use `kind=fund` for LP fund decks — they route to the fund
analysis pipeline.

## Data rooms

Push diligence files into an existing deal's data room; they're
auto-classified into categories and analyzed asynchronously (fund deals
route to the LP composition pipeline automatically):

```bash theme={null}
curl -X POST -H "X-API-Key: $KEY" \
  -F "files=@q3-update.pdf" \
  -F "files=@operating-model.xlsx" \
  "https://api.originalis.ai/api/v1/deals/$DEAL_ID/documents"
```

Up to 20 files per request, 50 MB each. Watch the inventory:

```bash theme={null}
curl -H "X-API-Key: $KEY" "https://api.originalis.ai/api/v1/deals/$DEAL_ID/documents"
```

Each document reports its folder — your own upload structure when you
preserved one, otherwise the auto-classified category.
