Skip to main content
POST
/
agents
/
{agent_id}
/
routing
/
rules
/
{rule_id}
/
test
Test routing rule
curl --request POST \
  --url https://api.trymaitai.ai/api/v1/agents/{agent_id}/routing/rules/{rule_id}/test \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '{}'
{
  "data": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.trymaitai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

agent_id
integer
required
rule_id
integer
required

Body

application/json

The body is of type object.

Response

200 - application/json

Test routing rule.

data
any