Update a workflow
Updates workflow properties. Only provided fields are changed. If workflow_json is updated, parameter node_id references are re-validated. The version number auto-increments on each update. Updating slug will fail if the new slug conflicts with an existing workflow.
Documentation Index
Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
User session JWT (Bearer ). Must be paired with the X-Team-ID
request header on team-scoped endpoints so the server knows which
team's resources to operate on.
Headers
UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):
- JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
- Credential callers (
sk-,dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
"019abc12-4567-7890-abcd-ef1234567891"
Path Parameters
UUID of the workflow.
"019abc12-8901-7890-abcd-ef1234567895"
Body
All fields are optional. Only provided fields are updated.
Updated globally unique slug.
2 - 100^[a-z0-9]+(?:-[a-z0-9]+)*$Updated workflow name.
1 - 255Updated description.
2000Updated tool-specific workflow definition. If provided, parameters are re-validated for the workflow's tool_type.
Updated parameter definitions (replaces the entire array).
Tool runtime used by this workflow:
comfyui: ComfyUI API workflow JSON (default, backward compatible).nerfstudio: Nerfstudio 3DGS pipeline spec.
comfyui, nerfstudio "comfyui"
Updated labels required for agent matching.
Updated maximum execution time in seconds. 0 means no timeout.
x >= 0Updated maximum number of automatic retries. 0 means no retry.
x >= 0Set to disabled to prevent new task submissions for this workflow.
active, disabled "active"
Preferred GPU type for agent matching. If empty, clears the preference.
100"RTX_4090"
Default compute source for tasks. If empty, clears the default (falls back to agent).
agent, comfy_cloud "agent"
Updated minimum GPU VRAM required. Set to 0 to clear the requirement.
0 <= x <= 2048Updated required models list. Send an empty array to clear the requirement; otherwise the new list fully replaces the previous set.
512Response
Workflow updated
UUID of the created or updated resource.
"019abc12-3456-7890-abcd-ef1234567890"
