Skip to main content
PUT
/
agents
/
actions
/
{action_id}
/
enable
Enable action
curl --request PUT \
  --url https://api.trymaitai.ai/api/v1/agents/actions/{action_id}/enable \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": {
    "id": 200,
    "action_name": "Lookup Order",
    "enabled": true
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

action_id
integer
required

Response

200 - application/json

Enable action.

data
object

A capability that an agent can invoke — an LLM call, API call, or webhook.