Update workflow
curl --request PATCH \
--url https://flowra.dev/api/v1/workflow/manager/update/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"nodes": [
{}
],
"edges": [
{}
],
"triggers": [
{}
],
"workflowType": {},
"inputSchema": {},
"outputSchema": {},
"isActive": true,
"isPublic": true,
"executionCount": 123,
"lastExecutedAt": "2023-11-07T05:31:56Z",
"activeStatus": true,
"toolSlugs": [
"<string>"
],
"externalMcpConfigs": [
"<string>"
],
"discoveryToolsWhitelist": true,
"connectionCallbackUrl": "<string>"
}
'import requests
url = "https://flowra.dev/api/v1/workflow/manager/update/{id}"
payload = {
"name": "<string>",
"description": "<string>",
"nodes": [{}],
"edges": [{}],
"triggers": [{}],
"workflowType": {},
"inputSchema": {},
"outputSchema": {},
"isActive": True,
"isPublic": True,
"executionCount": 123,
"lastExecutedAt": "2023-11-07T05:31:56Z",
"activeStatus": True,
"toolSlugs": ["<string>"],
"externalMcpConfigs": ["<string>"],
"discoveryToolsWhitelist": True,
"connectionCallbackUrl": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
nodes: [{}],
edges: [{}],
triggers: [{}],
workflowType: {},
inputSchema: {},
outputSchema: {},
isActive: true,
isPublic: true,
executionCount: 123,
lastExecutedAt: '2023-11-07T05:31:56Z',
activeStatus: true,
toolSlugs: ['<string>'],
externalMcpConfigs: ['<string>'],
discoveryToolsWhitelist: true,
connectionCallbackUrl: '<string>'
})
};
fetch('https://flowra.dev/api/v1/workflow/manager/update/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flowra.dev/api/v1/workflow/manager/update/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'nodes' => [
[
]
],
'edges' => [
[
]
],
'triggers' => [
[
]
],
'workflowType' => [
],
'inputSchema' => [
],
'outputSchema' => [
],
'isActive' => true,
'isPublic' => true,
'executionCount' => 123,
'lastExecutedAt' => '2023-11-07T05:31:56Z',
'activeStatus' => true,
'toolSlugs' => [
'<string>'
],
'externalMcpConfigs' => [
'<string>'
],
'discoveryToolsWhitelist' => true,
'connectionCallbackUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://flowra.dev/api/v1/workflow/manager/update/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"nodes\": [\n {}\n ],\n \"edges\": [\n {}\n ],\n \"triggers\": [\n {}\n ],\n \"workflowType\": {},\n \"inputSchema\": {},\n \"outputSchema\": {},\n \"isActive\": true,\n \"isPublic\": true,\n \"executionCount\": 123,\n \"lastExecutedAt\": \"2023-11-07T05:31:56Z\",\n \"activeStatus\": true,\n \"toolSlugs\": [\n \"<string>\"\n ],\n \"externalMcpConfigs\": [\n \"<string>\"\n ],\n \"discoveryToolsWhitelist\": true,\n \"connectionCallbackUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://flowra.dev/api/v1/workflow/manager/update/{id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"nodes\": [\n {}\n ],\n \"edges\": [\n {}\n ],\n \"triggers\": [\n {}\n ],\n \"workflowType\": {},\n \"inputSchema\": {},\n \"outputSchema\": {},\n \"isActive\": true,\n \"isPublic\": true,\n \"executionCount\": 123,\n \"lastExecutedAt\": \"2023-11-07T05:31:56Z\",\n \"activeStatus\": true,\n \"toolSlugs\": [\n \"<string>\"\n ],\n \"externalMcpConfigs\": [\n \"<string>\"\n ],\n \"discoveryToolsWhitelist\": true,\n \"connectionCallbackUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/workflow/manager/update/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"nodes\": [\n {}\n ],\n \"edges\": [\n {}\n ],\n \"triggers\": [\n {}\n ],\n \"workflowType\": {},\n \"inputSchema\": {},\n \"outputSchema\": {},\n \"isActive\": true,\n \"isPublic\": true,\n \"executionCount\": 123,\n \"lastExecutedAt\": \"2023-11-07T05:31:56Z\",\n \"activeStatus\": true,\n \"toolSlugs\": [\n \"<string>\"\n ],\n \"externalMcpConfigs\": [\n \"<string>\"\n ],\n \"discoveryToolsWhitelist\": true,\n \"connectionCallbackUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"projectId": "<string>",
"nodes": "<array>",
"edges": "<array>",
"triggers": "<array>",
"isActive": true,
"isPublic": true,
"version": "<string>",
"executionCount": 123,
"successfulExecutionCount": 123,
"failedExecutionCount": 123,
"connections": "<array>",
"tools": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"inputSchema": {},
"outputSchema": {},
"clonedFromWorkflowId": "<string>",
"clonedFromVersion": "<string>",
"lastExecutedAt": "<string>",
"sourceVersionLatest": "1.0.2",
"discoveryToolsWhitelist": true,
"connectionCallbackUrl": "<string>"
}Workflow & Agent
Update workflow
Update workflow name, tools, system prompt, model, or other settings. Send only the fields you want to change.
PATCH
/
api
/
v1
/
workflow
/
manager
/
update
/
{id}
Update workflow
curl --request PATCH \
--url https://flowra.dev/api/v1/workflow/manager/update/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"nodes": [
{}
],
"edges": [
{}
],
"triggers": [
{}
],
"workflowType": {},
"inputSchema": {},
"outputSchema": {},
"isActive": true,
"isPublic": true,
"executionCount": 123,
"lastExecutedAt": "2023-11-07T05:31:56Z",
"activeStatus": true,
"toolSlugs": [
"<string>"
],
"externalMcpConfigs": [
"<string>"
],
"discoveryToolsWhitelist": true,
"connectionCallbackUrl": "<string>"
}
'import requests
url = "https://flowra.dev/api/v1/workflow/manager/update/{id}"
payload = {
"name": "<string>",
"description": "<string>",
"nodes": [{}],
"edges": [{}],
"triggers": [{}],
"workflowType": {},
"inputSchema": {},
"outputSchema": {},
"isActive": True,
"isPublic": True,
"executionCount": 123,
"lastExecutedAt": "2023-11-07T05:31:56Z",
"activeStatus": True,
"toolSlugs": ["<string>"],
"externalMcpConfigs": ["<string>"],
"discoveryToolsWhitelist": True,
"connectionCallbackUrl": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
nodes: [{}],
edges: [{}],
triggers: [{}],
workflowType: {},
inputSchema: {},
outputSchema: {},
isActive: true,
isPublic: true,
executionCount: 123,
lastExecutedAt: '2023-11-07T05:31:56Z',
activeStatus: true,
toolSlugs: ['<string>'],
externalMcpConfigs: ['<string>'],
discoveryToolsWhitelist: true,
connectionCallbackUrl: '<string>'
})
};
fetch('https://flowra.dev/api/v1/workflow/manager/update/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flowra.dev/api/v1/workflow/manager/update/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'nodes' => [
[
]
],
'edges' => [
[
]
],
'triggers' => [
[
]
],
'workflowType' => [
],
'inputSchema' => [
],
'outputSchema' => [
],
'isActive' => true,
'isPublic' => true,
'executionCount' => 123,
'lastExecutedAt' => '2023-11-07T05:31:56Z',
'activeStatus' => true,
'toolSlugs' => [
'<string>'
],
'externalMcpConfigs' => [
'<string>'
],
'discoveryToolsWhitelist' => true,
'connectionCallbackUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://flowra.dev/api/v1/workflow/manager/update/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"nodes\": [\n {}\n ],\n \"edges\": [\n {}\n ],\n \"triggers\": [\n {}\n ],\n \"workflowType\": {},\n \"inputSchema\": {},\n \"outputSchema\": {},\n \"isActive\": true,\n \"isPublic\": true,\n \"executionCount\": 123,\n \"lastExecutedAt\": \"2023-11-07T05:31:56Z\",\n \"activeStatus\": true,\n \"toolSlugs\": [\n \"<string>\"\n ],\n \"externalMcpConfigs\": [\n \"<string>\"\n ],\n \"discoveryToolsWhitelist\": true,\n \"connectionCallbackUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://flowra.dev/api/v1/workflow/manager/update/{id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"nodes\": [\n {}\n ],\n \"edges\": [\n {}\n ],\n \"triggers\": [\n {}\n ],\n \"workflowType\": {},\n \"inputSchema\": {},\n \"outputSchema\": {},\n \"isActive\": true,\n \"isPublic\": true,\n \"executionCount\": 123,\n \"lastExecutedAt\": \"2023-11-07T05:31:56Z\",\n \"activeStatus\": true,\n \"toolSlugs\": [\n \"<string>\"\n ],\n \"externalMcpConfigs\": [\n \"<string>\"\n ],\n \"discoveryToolsWhitelist\": true,\n \"connectionCallbackUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/workflow/manager/update/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"nodes\": [\n {}\n ],\n \"edges\": [\n {}\n ],\n \"triggers\": [\n {}\n ],\n \"workflowType\": {},\n \"inputSchema\": {},\n \"outputSchema\": {},\n \"isActive\": true,\n \"isPublic\": true,\n \"executionCount\": 123,\n \"lastExecutedAt\": \"2023-11-07T05:31:56Z\",\n \"activeStatus\": true,\n \"toolSlugs\": [\n \"<string>\"\n ],\n \"externalMcpConfigs\": [\n \"<string>\"\n ],\n \"discoveryToolsWhitelist\": true,\n \"connectionCallbackUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"projectId": "<string>",
"nodes": "<array>",
"edges": "<array>",
"triggers": "<array>",
"isActive": true,
"isPublic": true,
"version": "<string>",
"executionCount": 123,
"successfulExecutionCount": 123,
"failedExecutionCount": 123,
"connections": "<array>",
"tools": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"inputSchema": {},
"outputSchema": {},
"clonedFromWorkflowId": "<string>",
"clonedFromVersion": "<string>",
"lastExecutedAt": "<string>",
"sourceVersionLatest": "1.0.2",
"discoveryToolsWhitelist": true,
"connectionCallbackUrl": "<string>"
}Authorizations
x-api-keyx-api-key & x-username
Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:
Headers
External user (end user) to act as. Optional — if omitted, Flowra uses the project’s default external user. Send a stable username (e.g. customer_alice) only when you need another end-user context.
Path Parameters
Body
application/json
Show child attributes
Show child attributes
Response
200 - application/json
Workflow updated successfully
Show child attributes
Show child attributes
Was this page helpful?
⌘I