Skip to main content
POST
Create agent

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Body

application/json
application_id
integer
required
agent_name
string
required
description
string
base_url
string
meta
object

Response

201 - application/json

Create agent.

data
object

An agent orchestrates actions, sub-agents, and routing to handle complex multi-step tasks.