curl --request POST \
--url https://app.enzo.health/api/v1/workflowRuns/{publicId}/start \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prefilledVariables": {
"Input File": "https://example.com/file.txt"
},
"workflowExecutionId": "<string>"
}'
{
"sessionId": "<string>",
"workflowExecutionId": "<string>",
"workflow": {
"id": "<string>"
},
"logs": [
{
"status": "<string>",
"description": "<string>",
"details": "<any>"
}
],
"progress": 123,
"event": {
"id": "<string>",
"name": "<string>",
"payload": "<any>"
}
}
curl --request POST \
--url https://app.enzo.health/api/v1/workflowRuns/{publicId}/start \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prefilledVariables": {
"Input File": "https://example.com/file.txt"
},
"workflowExecutionId": "<string>"
}'
{
"sessionId": "<string>",
"workflowExecutionId": "<string>",
"workflow": {
"id": "<string>"
},
"logs": [
{
"status": "<string>",
"description": "<string>",
"details": "<any>"
}
],
"progress": 123,
"event": {
"id": "<string>",
"name": "<string>",
"payload": "<any>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.