Skip to main content
POST
Create guard rule

Authorizations

Authorization
string
header
required

Your Inbound API key. Include it in the Authorization header as: Bearer

Body

name
string
required

Rule name

Minimum string length: 1
type
enum<string>
required
Available options:
explicit,
ai_prompt
config
any
required

Rule configuration (JSON)

description
string

Rule description

priority
number

Rule priority (higher = evaluated first)

action
any

Rule action configuration

Response

Response for status 201

success
boolean
required
data
object
required