Move documents into a datasource (async)
Move documents (identified by their parse job IDs, e.g. the job_id returned by parseDocument) into an existing datasource or a newly created one. Returns a workflow_id to poll for completion.
Authorizations
Body
Move documents into a datasource.
The documents are referenced by the job IDs returned when they were parsed
(e.g. the job_id from parseDocument / client.documents.parse(...)),
not by object-storage paths.
Either target an existing datasource with datasource_id, or create a new one by supplying new_datasource_name. Customer and project context are injected from request headers, not the body.
Job IDs of the documents to move (e.g. the job_id returned by parseDocument)
Existing datasource to move documents into. Mutually exclusive with new_datasource_name.
Name for a new datasource created to hold the documents. Mutually exclusive with datasource_id.
Optional metadata extraction config applied to a newly created datasource. Ignored when datasource_id is set.
Response
Successful Response