Import a document
begin_document_importImport an existing PDF, image, HTML file or direct HTTPS URL as a private document. Office and video are unsupported. File bytes must come from the authenticated embedded chooser or supported attachment transfer, never a local path. Replacing original requires documentId and current fileRevisionId as expectedRevisionId; preserves reader URL/access settings. A reserved job is not completed. URL fetch is explicit in complete_document_import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| source | Yes | ||
| replace | No | ||
| htmlMode | No | static | |
| workspaceId | No | ||
| workspace_id | No | ||
| idempotencyKey | Yes |