Skip to main content
GET
/
v1
/
pathway
/
{pathway_id}
/
version
/
{version_id}
Get Specific Pathway Version
curl --request GET \
  --url https://app.luly.ai/api/v1/pathway/{pathway_id}/version/{version_id} \
  --header 'authorization: <authorization>'
{
  "name": "<string>",
  "nodes": {},
  "edges": {},
  "version_number": 123,
  "is_latest": true
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

pathway_id
string
required
The ID of the pathway.
version_id
string
required
The ID of the version to retrieve. Use 0 for the live pathway.

Response

name
string
The name of the pathway version.
nodes
array of objects
Data about all the nodes in the pathway version.
  • id —Unique indentifier of the node
  • type — Type of the node (e.g., “Default”, “End Call”, “Webhook”)
  • data — Object containing node-specific data
    • name — Name of the node
    • text or propmt — Text or prompt associated with the node
    • Other properties specific to the node type
edges
array of object
Data about all the edges in the pathway version.
  • id —Unique indentifier of the edge
  • source — Type of the node (e.g., “Default”, “End Call”, “Webhook”)
  • target — Object containing node-specific data
  • label —Label for this edge
version_number
integer
The version number of this pathway version.
is_latest
boolean
Indicates whether this is the latest version of the pathway.