Skip to main content
PATCH
/
agents
/
{agent_id}
Patch agent
curl --request PATCH \
  --url https://api.trymaitai.ai/api/v1/agents/{agent_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "agent_config": {
    "high_performance": true
  }
}
'
{
  "data": {
    "id": 101,
    "agent_name": "Onboarding Agent",
    "agent_config": {
      "high_performance": true
    }
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

agent_id
integer
required

Body

application/json
agent_name
string
description
string
base_url
string
agent_config
object
meta
object
status
string
strategy_prompt_addendum
string

Response

200 - application/json

Patch agent.

data
any