cURL
curl --request POST \ --url https://api.trymaitai.ai/api/v1/agents/{agent_id}/subagents \ --header 'Content-Type: application/json' \ --header 'X-Maitai-Api-Key: <api-key>' \ --data ' { "child_agent_id": 55 } '
{ "data": { "message": "Sub-agent added" } }
Attach an existing agent as a sub-agent of a parent agent.
Your Maitai API key from the Portal.
Add sub agent.
Was this page helpful?