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>"
}
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
Update Flow Request JSON
The response is of type object
.
Was this page helpful?