v1

latestSwagger 2.0Apache 2.02026-07-1717621.6 KB
Workflow

Create a workflow under the given ensemble

Create/submit a workflow as part of the given ensemble.

post/ensembles/{em-name}/workflows

Request body

namestring required
priorityinteger required
basedirstring required

Current working directory

plan_commandstring required

Command used to invoke workflow plan script

Example request

{
  "plan_command": "/home/tanaka/workflow.py arg1 arg2"
}

Response

Success

idinteger required
namestring required
createdstring date-time required
updatedstring date-time required
state'READY' | 'PLANNING' | 'PLAN_FAILED' | 'QUEUED' | 'RUN_FAILED' | 'RUNNING' | 'FAILED' | 'SUCCESSFUL' | 'ABORTED' required
priorityinteger required
wf_uuidstring required