cURL
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" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
An array of Files.
Show child attributes
The name of the file.
A presigned URL for the file. Though we will download immediately, we recommend a 5 - 15 minute expiration time.
Successful response
The type of response, always 'workflow_run'.
workflow_run
An ID corresponding to a specific File x Workflow combination.
The status of a WorkflowRun. Always 'PENDING' initially.
PENDING
IN_PROGRESS
SUCCEEDED
FAILED
CANCELED
The time (in UTC) at which the workflow was started.