Skip to main content
GET
/
agents
/
tasks
/
{task_id}
/
tree
Get agent task tree
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/agents/tasks/{task_id}/tree \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": {
    "task_id": "task_001",
    "status": "COMPLETED",
    "children": [
      {
        "task_id": "task_002",
        "status": "COMPLETED",
        "children": []
      }
    ]
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

task_id
string
required

Response

200 - application/json

Get agent task tree.

data
any