Skip to main content
POST
/
api
/
v1
/
workflow_runs
Run Workflow
curl --request POST \
  --url https://app.enzo.health/api/v1/workflow_runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "files": [
    {
      "name": "<string>",
      "url": "<string>"
    }
  ]
}
'
{
  "workflowRun": {
    "object": "workflow_run",
    "id": "<string>",
    "status": "PENDING",
    "initialRunAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
files
object[]

An array of Files.

Response

200 - application/json

Successful response

workflowRun
object