Skip to main content
GET
/
agents
/
{agent_id}
Get agent
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/agents/{agent_id} \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": {
    "id": 101,
    "agent_name": "Onboarding Agent",
    "description": "Guides new users through account setup",
    "application_id": 42,
    "status": "ENABLED"
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

agent_id
integer
required

Query Parameters

detailed
boolean
default:false

Include full configuration details in results.

Response

200 - application/json

Get agent.

data
object

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