Run a workflow on a document
run_workflowUpload a local file or URL with a saved workflow to process documents; Architect workflows wait for outputs, while classic workflows return job IDs for follow-up.
Instructions
Upload a local file or URL with a workflow attached and, for Architect workflows, wait for the run's outputs. Classic workflows return the ids of the jobs they started (use wait_for_jobs, then get_standardization). Credits: the upload plus each step the workflow runs. Resume an Architect run with workflow_run_job_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| dataset | No | ||
| metadata | No | ||
| file_path | No | ||
| workflow_id | No | Workflow to run (list_workflows). | |
| workflow_run_job_id | No | Resume: the run job returned earlier. |