Skip to main content
POST
Dry-run a trigger rule

Authorizations

Authorization
string
header
required

nia_sk_...

Body

application/json
condition
enum<string>
required
Available options:
promise.overdue,
open_item.due,
trait.present,
sentiment.drop,
identity.ambiguous,
fact.contradicted_by_system_event,
recontact,
context_use.repetition_rate,
source.silent
endpoint_id
string
required
rule_id
string
required
Pattern: ^[a-z][a-z0-9_.:-]{0,63}$
late_policy
enum<string>
default:deliver_marked
Available options:
deliver_marked,
suppress
params
Params · object
version
string
default:draft
window_hours
integer
default:24
Required range: 1 <= x <= 2160

Response

How many firings the rule would have had, with a sample.

rule_id
string
required
sample
TriggerSample · object[]
required
subjects_evaluated
integer
required
window_days
integer
required
would_fire
integer
required
target_problem
string | null

Why the target endpoint could not receive this rule's payload, if it cannot.