Skip to main content
POST
/
sentinels
Create sentinel
curl --request POST \
  --url https://api.trymaitai.ai/api/v1/sentinels \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "sentinel_name": "Tone Check",
  "intent_group_id": 10,
  "severity": 2
}
'
{
  "data": {
    "id": 1,
    "sentinel_name": "Tone Check",
    "severity": 2,
    "intent_group_id": 10
  }
}

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Body

application/json
sentinel_name
string
required
severity
integer
required
intent_group_id
integer
sentinel_directive
object
meta
object

Response

201 - application/json

Create sentinel.

data
object

An evaluation watcher that monitors model output quality for an intent group.