Skip to main content

update

client.agentFlow.update(data: UpdateAgentFlowRequest): Promise<AgentFlow>

Updates an existing agent flow.

Modifies the node configuration, connections, or metadata of an existing flow.

Parameters

ParameterTypeRequiredDescription
dataUpdateAgentFlowRequestYesThe update payload containing the modified flow data

Returns

Promise<AgentFlow> — A promise that resolves to the updated AgentFlow

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.agentFlow.update(/* UpdateAgentFlowRequest */);
console.log(result);