| Method | Path | Purpose |
|---|---|---|
| GET | /api/v1/documents/{id}/file | Download the original file |
| POST | /api/v1/documents/{id}/file | Start uploading the original file |
| POST | /api/v1/documents/{id}/file/commit | Make an uploaded file the document's file |
| POST | /api/v1/documents/{id}/extract | Replace the text with the file's text |