cURL
curl --request PUT \ --url https://api.trymaitai.ai/api/v1/agents/{agent_id} \ --header 'Content-Type: application/json' \ --header 'X-Maitai-Api-Key: <api-key>' \ --data ' { "description": "Updated onboarding flow with KYC step", "strategy_prompt_addendum": "Always verify identity before proceeding." } '
{ "data": { "id": 101, "agent_name": "Onboarding Agent", "description": "Updated onboarding flow with KYC step", "status": "ENABLED" } }
Update agent fields such as name, description, config, status, or strategy instructions.
Your Maitai API key from the Portal.
Update agent.
An agent orchestrates actions, sub-agents, and routing to handle complex multi-step tasks.
Show child attributes
Was this page helpful?