Skip to main content
PUT
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

flowId
string<uuid>
required

Body

application/json

Fields to change on a customer flow. The step graph is edited through PUT /graph instead.

title
string
Minimum string length: 1
description
string | null
branchingMode
enum<string>

Scripted flows only.

Available options:
DETERMINISTIC,
ADAPTIVE
agentIds
string<uuid>[]

Replaces the linked agents. Omit to leave them unchanged.

Minimum array length: 1
agentExpectations
object[]

Replaces the flow-level expectations. Omit to leave them unchanged.

Response

The updated customer flow

data
Scripted · object
required

The conversation a simulated customer has with the agent under test.