POST
/
v1
/
workflowRuns
/
{publicId}
/
start
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

Body

application/json

Response

200
application/json

Successful response

The response is of type object.