Skip to main content
GET
/
agents
/
actions
/
{action_id}
Get agent action
curl --request GET \
  --url https://api.trymaitai.ai/api/v1/agents/actions/{action_id} \
  --header 'X-Maitai-Api-Key: <api-key>'
{
  "data": {
    "id": 200,
    "action_name": "Lookup Order",
    "action_type": "api",
    "agent_id": 101,
    "enabled": true,
    "description": "Fetch order details"
  }
}

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

Get agent action.

data
object

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