cURL
curl --request POST \ --url https://platform.unstructuredapp.io/api/v1/jobs/ \ --header 'Content-Type: multipart/form-data' \ --form 'request_data=<string>' \ --form 'input_files=<string>' \ --form input_files.0.items='@example-file'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "workflow_name": "<string>", "status": "SCHEDULED", "created_at": "2023-11-07T05:31:56Z", "runtime": "<string>", "input_file_ids": [ "<string>" ], "output_node_files": [ { "node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "file_id": "<string>", "node_type": "<string>", "node_subtype": "<string>" } ], "job_type": "ephemeral" }
Create a new on-demand job using either a template (with persistent job optimization) or custom DAG.
Successful Response
SCHEDULED
IN_PROGRESS
COMPLETED
STOPPED
FAILED
Show child attributes
ephemeral
persistent
scheduled
template
Was this page helpful?