curl --request PATCH \
--url https://api.example.com/workflows/{workflow_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"title": "<string>",
"description": "<string>",
"status": "online",
"object": {},
"version": 123,
"entrypoint": "<string>",
"icon_url": "<string>",
"static_inputs": {},
"expects": {},
"returns": null,
"config": {
"scheduler": "dynamic",
"environment": "default",
"timeout": 300
},
"alias": "<string>",
"error_handler": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Update a workflow.
curl --request PATCH \
--url https://api.example.com/workflows/{workflow_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"title": "<string>",
"description": "<string>",
"status": "online",
"object": {},
"version": 123,
"entrypoint": "<string>",
"icon_url": "<string>",
"static_inputs": {},
"expects": {},
"returns": null,
"config": {
"scheduler": "dynamic",
"environment": "default",
"timeout": 300
},
"alias": "<string>",
"error_handler": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}wf_[0-9a-zA-Z]+Workflow title, between 3 and 100 characters
3 - 100Optional workflow description, up to 1000 characters
1000online, offline Show child attributes
This is the runtime configuration for the workflow.
Activities don't need access to this.
Show child attributes
Successful Response
Was this page helpful?