Skip to main content
POST

Path parameters

string (uuid)
required
The agent id.

Request body

CreateRule
string
required
string
required
One of: escalation, qualification, response, routing.
string
boolean
object
{any|all: [{field, operator, value}]}. Fields: company_size, confidence, intent, knowledge_sources, latest_message, missing_required_fields, timeline. Operators: contains_any, eq, exists, gte, in, lt, not_empty.
any[]
[{type, …}]. Types: collect_fields, fallback, handoff, include_sources, require_context, require_source_for_claims, require_verification, response_pattern, tag.

Response

Rule
string
string
string,null
string,null
string,null
boolean
any
any
string,null

Status codes

Access