Create Pathway Version
Pathway Versions
Create Pathway Version
Creates a new version of a specific pathway, including its name, nodes, and edges.
POST
Create Pathway Version
Headers
string
required
Your API key for authentication.
Path Parameters
string
required
The ID of the pathway for which to create a new version.
Request Body
string
required
The name of the new pathway version.
array of objects
required
An array of node objects defining the structure of the pathway.
Node Object Parameters
Node Object Parameters
id— Unique identifier of the nodetype— Type of the node (e.g., “Default”, “End Call”, “Webhook”)data— Object containing node-specific dataname— Name of the nodetextorprompt— Text or prompt associated with the node- Other properties specific to the node type
array of objects
required
An array of edge objects defining the connections between nodes.
Edge Object Parameters
Edge Object Parameters
id— Unique identifier of the edgesource— ID of the source nodetarget— ID of the target nodelabel— Label for this edge
Response
string
The status of the operation (e.g., “success”).
string
A message describing the result of the operation.
object
Docs for agents: llms.txt