Skip to main content
GET
/
conversation-trees
/
{tree_id}
Get conversation tree
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/conversation-trees/{tree_id} \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": {
    "id": 50,
    "name": "Onboarding Flow",
    "application_id": 42,
    "nodes": [
      {
        "id": "node_1",
        "type": "user",
        "content": "I want to sign up"
      }
    ]
  }
}

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

Get conversation tree.

data
object

A synthetic conversation flow used for data generation and testing.