Skip to main content
POST

Path parameters

string (uuid)
required
The agent id.

Headers

string
Optional client-generated key that makes the POST safe to retry: a repeat with the same key and body replays the original response instead of creating a duplicate.

Request body

CreateRule
string
required
Minimum length: 1. Maximum length: 200.
string
required
One of: escalation, qualification, response, routing. Minimum length: 1. Maximum length: 100.
string
Maximum length: 5000.
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. Maximum items: 100.

Response

Rule
string
Fixed value: 'rule'.
string
string,null
string,null
string,null
boolean
any
any
string,null

Status codes

Access

Using this contract

Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.
Last modified on September 21, 2026