Update settings of an existing AI Workflow
curl --request PUT \ --url https://flows.eachlabs.ai/api/v1/{workflowID}/settings \ --header 'Content-Type: application/json' \ --data '{ "production": true, "locked": true }'
{ "workspace_id": "<string>", "name": "<string>", "description": "<string>", "thumbnail_url": "<string>", "inputs": [ { "name": "<string>", "type": "<string>", "default_value": "<string>" } ], "outputs": [ { "name": "<string>", "type": "<string>", "value": "<string>" } ], "steps": [ { "id": "<string>", "name": "<string>", "type": "<string>", "model_slug": "<string>", "model_version": "<string>", "params": { "key": {} } } ], "nodes_json": "<string>", "edges_json": "<string>" }
Workflow ID
Show child attributes
Was this page helpful?