Create from Definition
POST
/api/v1/workflow/create/definitionCreate 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
| Name | Location | Type | Description |
|---|---|---|---|
authorization | header | object | — |
X-API-Key | header | object | — |
Request body
application/jsonView schema
{
"$ref": "#/components/schemas/CreateWorkflowRequest"
}Responses
200Successful Responseapplication/jsonView schema
{
"$ref": "#/components/schemas/WorkflowResponse"
}404Not found422Validation Errorapplication/jsonView schema
{
"$ref": "#/components/schemas/HTTPValidationError"
}