latestSwagger 2.0Proprietary2026-08-17126191431.8 KB

7f97d8cd0f1e

datasources

Import from data sources

Creates an import job from selected files in the data sources bucket

post/datasources/import

Request body

business_node_idstring

BusinessNodeID is the business node (must be a leaf node) to associate imported documents with.

keysstring[]

Keys are the object keys (paths) of files to import from the data sources bucket. These are relative to the business's directory (e.g., "data-source-name/folder/file.pdf").

namestring

Name is an optional name for the import job.

replace_existingboolean

ReplaceExisting if true will re-process documents with the same filename.

Response

OK

files_queuedinteger
files_skippedinteger
import_idstring
messagestring
unsupported_examplesstring[]

First few unsupported filenames

unsupported_filesinteger