GET
/
v1
/
pathway
/
:pathway_id
/
versions
curl --request GET \
  --url https://api.bland.ai/v1/pathway/:pathway_id/versions \
  --header 'authorization: <authorization>'
[
  {
    "id": "v1_abc123",
    "version_number": 1,
    "created_at": "2024-03-05T12:00:00Z",
    "name": "Initial Version",
    "is_latest": false
  },
  {
    "id": "v2_def456",
    "version_number": 2,
    "created_at": "2024-03-06T14:30:00Z",
    "name": "Updated Flow",
    "is_latest": true
  }
]

Headers

authorization
string
required

Your API key for authentication.

Path Parameters

pathway_id
string
required

The ID of the pathway for which to retrieve versions.

Response

id
string

The unique identifier of the pathway version.

version_number
integer

The version number of this pathway version.

created_at
string

The timestamp when this version was created.

name
string

The name of this pathway version.

is_latest
boolean

Indicates whether this is the latest version of the pathway.

[
  {
    "id": "v1_abc123",
    "version_number": 1,
    "created_at": "2024-03-05T12:00:00Z",
    "name": "Initial Version",
    "is_latest": false
  },
  {
    "id": "v2_def456",
    "version_number": 2,
    "created_at": "2024-03-06T14:30:00Z",
    "name": "Updated Flow",
    "is_latest": true
  }
]