cURL
curl --request POST \ --url https://api.trymaitai.ai/api/v1/agents \ --header 'Content-Type: application/json' \ --header 'X-Maitai-Api-Key: <api-key>' \ --data ' { "application_id": 42, "agent_name": "Onboarding Agent", "description": "Guides new users through account setup" } '
{ "data": { "id": 101, "agent_name": "Onboarding Agent", "description": "Guides new users through account setup", "application_id": 42, "status": "ENABLED" } }
Create a new agent under an application. Requires application_id and agent_name.
application_id
agent_name
Your Maitai API key from the Portal.
Create agent.
An agent orchestrates actions, sub-agents, and routing to handle complex multi-step tasks.
Show child attributes
Was this page helpful?