Run a workflow by triggering a new job if none is currently active.
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/workflows/{workflow_id}/run \
--header 'Content-Type: multipart/form-data' \
--form 'input_files=[
null
]'
{
"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>"
}
],
"job_type": "ephemeral"
}
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/workflows/{workflow_id}/run \
--header 'Content-Type: multipart/form-data' \
--form 'input_files=[
null
]'
{
"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>"
}
],
"job_type": "ephemeral"
}
Run a workflow by triggering a new job if none is currently active.
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/workflows/{workflow_id}/run \
--header 'Content-Type: multipart/form-data' \
--form 'input_files=[
null
]'
{
"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>"
}
],
"job_type": "ephemeral"
}
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/workflows/{workflow_id}/run \
--header 'Content-Type: multipart/form-data' \
--form 'input_files=[
null
]'
{
"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>"
}
],
"job_type": "ephemeral"
}