Pathway Versions
Get Specific Pathway Version
Calls
Intelligence
Conversational Pathways
- GETGet All Pathways Information
- GETGet Single Pathway Information
- POSTCreate Pathway
- POSTUpdate Pathway
- DELDelete Pathway
- Pathway Chat
- Pathway Versions
- Pathway Folders
Vector Knowledge Bases
Voices
Custom Tools
Web Agents
Custom Twilio Accounts
Batches
SMS
Account
Organizations
- POSTCreate Organization
- DELDelete Organization
- GETGet Organization
- GETGet Organization Members
- GETGet Organization's Current Service Version
- GETList Organization's Service Versions
- PATCHUpdate Organization's Service Version
- PATCHUpdate Organization Members
- PATCHUpdate Organization Member Permissions
- PATCHUpdate Organization Properties
- GETGet User Organization Memberships
- DELLeave Organization
- GETGet Organization Billing Information
- GETGet Organization Billing Refill Information
Pathway Versions
Get Specific Pathway Version
Retrieves a specific version of a pathway, including its name, nodes, edges, version number, and latest status.
GET
/
v1
/
pathway
/
{pathway_id}
/
version
/
{version_id}
curl --request GET \
--url https://api.bland.ai/v1/pathway/{pathway_id}/version/{version_id} \
--header 'authorization: <authorization>'
{
"name": "Customer Support Flow v2",
"nodes": [
{
"id": "1",
"type": "Default",
"data": {
"name": "Start",
"text": "Hello! How can I assist you today?",
"isStart": true
}
},
{
"id": "2",
"type": "End Call",
"data": {
"name": "End call",
"prompt": "Thank you for contacting us. Have a great day!"
}
}
],
"edges": [
{
"id": "edge-1-2",
"source": "1",
"target": "2",
"label": "Issue resolved"
}
],
"version_number": 2,
"is_latest": true
}
Headers
Your API key for authentication.
Path Parameters
The ID of the pathway.
The ID of the version to retrieve. Use 0 for the live pathway.
Response
The name of the pathway version.
Data about all the nodes in the pathway version.
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 nodetext
orprompt
— Text or prompt associated with the node- Other properties specific to the node type
Data about all the edges in the pathway version.
id
— Unique identifier of the edgesource
— ID of the source nodetarget
— ID of the target nodelabel
— Label for this edge
The version number of this pathway version.
Indicates whether this is the latest version of the pathway.
{
"name": "Customer Support Flow v2",
"nodes": [
{
"id": "1",
"type": "Default",
"data": {
"name": "Start",
"text": "Hello! How can I assist you today?",
"isStart": true
}
},
{
"id": "2",
"type": "End Call",
"data": {
"name": "End call",
"prompt": "Thank you for contacting us. Have a great day!"
}
}
],
"edges": [
{
"id": "edge-1-2",
"source": "1",
"target": "2",
"label": "Issue resolved"
}
],
"version_number": 2,
"is_latest": true
}
curl --request GET \
--url https://api.bland.ai/v1/pathway/{pathway_id}/version/{version_id} \
--header 'authorization: <authorization>'
{
"name": "Customer Support Flow v2",
"nodes": [
{
"id": "1",
"type": "Default",
"data": {
"name": "Start",
"text": "Hello! How can I assist you today?",
"isStart": true
}
},
{
"id": "2",
"type": "End Call",
"data": {
"name": "End call",
"prompt": "Thank you for contacting us. Have a great day!"
}
}
],
"edges": [
{
"id": "edge-1-2",
"source": "1",
"target": "2",
"label": "Issue resolved"
}
],
"version_number": 2,
"is_latest": true
}