Skip to main content
GET
/
conversation-trees
/
{tree_id}
/
versions
List conversation tree versions
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/conversation-trees/{tree_id}/versions \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": [
    {
      "id": 1,
      "tree_id": 50,
      "version": 1,
      "date_created": 1706000000
    },
    {
      "id": 2,
      "tree_id": 50,
      "version": 2,
      "date_created": 1706100000
    }
  ]
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

tree_id
integer
required

Response

200 - application/json

List conversation tree versions.

data
any