Skip to main content
POST
An local-file processing job is a job that takes one or more local files only as input, and whose temporary workflow exists only for the duration of the job’s run.
To run a workflow that was already created at some point in the past and still exists, see run workflow endpoint instead. To run a workflow that takes files and data from remote locations as input (instead of local files), do the following instead:
  1. Create a source connector to the remote source locations.
  2. Create a destination connector to the remote destination location.
  3. Create a long-lived workflow that uses this specific source connector and destination connector.
  4. Run this long-lived workflow manually, if you have not already created the workflow to run on a schedule.

Body

string
required
Job configuration data.
  • To use a workflow template for a job, include a template_id field that specifies the unique ID of the workflow template. For more information, see list templates.
  • To use a custom workflow definition for a job, include a job_nodes field that specifies the settings for the job’s workflow nodes. For instructions, see Workflow Nodes.
array
Input files to process. Upload as multipart/form-data, in the following format:
For more information, see Unstructured API Quickstart - local-file processing jobs.

Response

string
required
Unique identifier for the job.
string
required
Unique identifier of the workflow that created this job.
string
required
Name of the workflow that created this job.
string
required
Job status. One of: SCHEDULED, IN_PROGRESS, COMPLETED, STOPPED, FAILED.
string
required
ISO 8601 timestamp when the job was created.
string
ISO 8601 duration of the job run.
array
IDs of input files for this job.
array
Output file metadata objects. Each object includes node_id, file_id, node_type, and node_subtype.
string
Job type. Default: ephemeral.