Skip to main content
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": [
    {}
  ],
  "trigger": {},
  "workflowType": {},
  "inputSchema": {},
  "outputSchema": {},
  "isActive": true,
  "isPublic": true,
  "executionCount": 123,
  "lastExecutedAt": "2023-11-07T05:31:56Z",
  "activeStatus": true,
  "toolSlugs": [
    "<string>"
  ],
  "externalMcpConfigs": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "name": "<string>",
  "projectId": "<string>",
  "nodes": "<array>",
  "edges": "<array>",
  "workflowType": "static",
  "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>",
  "workspaceId": "<string>",
  "inputSchema": {},
  "outputSchema": {},
  "clonedFromWorkflowId": "<string>",
  "clonedFromVersion": "<string>",
  "lastExecutedAt": "<string>",
  "sourceVersionLatest": "1.0.2"
}

Authorizations

x-api-key
string
header
required

Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:

Path Parameters

id
string
required

Body

application/json

Response

200 - application/json

Workflow updated successfully