cURL
curl --request POST \ --url https://api.example.com/workflows \ --header 'Content-Type: multipart/form-data' \ --cookie fastapiusersauth= \ --form 'title=<string>' \ --form 'description=<string>' \ --form use_workflow_id=false \ --form 'file=<string>' \ --form file.0='@example-file'
{ "id": "<string>", "title": "<string>", "description": "<string>", "status": "<string>", "icon_url": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "version": 123, "tags": [ { "id": "<string>", "name": "<string>", "color": "<string>" } ], "alias": "<string>", "error_handler": "<string>", "latest_definition": { "id": "<string>", "version": 123, "created_at": "2023-11-07T05:31:56Z" } }
Create a new Workflow.
Optionally, you can provide a YAML file to create a workflow. You can also provide a title and description to create a blank workflow.
1 - 100
1000
Use the workflow ID if it is provided in the YAML file
Successful Response
Show child attributes
Was this page helpful?