# File

A **file** is the upload primitive. You create a file, then turn it into a
Document — and exports hand you a file back.

## Two directions

- **Inbound:** `POST /v1/files` → `file_…` → `POST /v1/documents { file_id }`
- **Outbound:** `POST /v1/searches/{id}/export` → `file_…` with a time-limited download URL

## Constraints

- 100 MB per file, `application/pdf` for document ingest
- Download URLs expire after 1 hour; request the file again to get a fresh URL

## Related

files · document · extractions
