Skip to main content
POST
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
title
string
required
Minimum string length: 1
isDefault
boolean
default:false
personaId
string<uuid> | null
environmentId
string<uuid> | null
prompt
string | null
precededByCustomerFlowId
string<uuid> | null
precededByCustomerFlowVariantId
string<uuid> | null

Response

The created variant

data
object
required

One way of running a flow. Exactly one variant per flow is the default; the others inherit its persona and environment wherever they leave those unset. On a scripted flow each variant is bound to one path through the graph and the path engine owns that binding.