Test Watcher Draft
POST/v1/watcher-drafts/test
A dry run of a watcher before it is saved: the body of a create, checked
by the same refusals, then the check, the condition and every action
rendered as they would reach you, each by its kind's own dry run (a
refresh_dataset or run_dbt says what it would refresh or run, as
you). {{trigger.*}} renders a sample event. Nothing is stored, sent or
billed, and run_agent is not run: save the watcher and use
test_watcher with includeAgent for that. A creator or an admin;
an API key needs admin access, as create does. holds,
skipped:condition_not_met, note and warnings read as on a
saved watcher's dry run.
Request
Responses
- 200
- 422
Successful Response
Validation Error