Skip to main content
PATCH
Update flow

Authorizations

X-API-KEY
string
header
required

Path Parameters

agentId
string
required
branchId
string
required
flowId
string
required

Body

application/json
name
string
Minimum string length: 1
description
string
startStepId
string
steps
object[]

Full replace semantics: when provided, this array becomes the complete set of the flow's steps — any existing step not included here is deleted. Omit the field entirely to leave steps untouched. Each step's own conditions field follows the same rule at the step level: omitted preserves the existing conditions on that step, while [] deletes all of that step's conditions.

transitionFunctions
object[]

Full replace semantics: when provided, this array becomes the complete set of the flow's transition functions — any existing transition function not included here is deleted. Omit the field entirely to leave transition functions untouched.

Response

Updated flow

id
string
required
name
string
required
description
string
required
startStepId
string
required
steps
object[]
required
transitionFunctions
object[]
required
Last modified on November 4, 2026