Skip to main content

Create from Definition

POST/api/v1/workflow/create/definition

Create a new workflow from the client Args: request: The create workflow request user: The user to create the workflow for

cURL example

curl -X POST \
  'http://localhost:8000/api/v1/workflow/create/definition' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Parameters

NameLocationTypeDescription
authorizationheaderobject
X-API-Keyheaderobject

Request body

application/json
View schema
{
  "$ref": "#/components/schemas/CreateWorkflowRequest"
}

Responses

200Successful Response
application/json
View schema
{
  "$ref": "#/components/schemas/WorkflowResponse"
}
404Not found
422Validation Error
application/json
View schema
{
  "$ref": "#/components/schemas/HTTPValidationError"
}