Check rules
check_rulesCheck a draft against the rulesets on the current step of an open workflow run, without saving it and without refusing. Rules run only inside workflow runs: runId names the run, and record.kind picks idea, batch, work, or delivery, which must be the kind of write that step's connection checks. Pass a record's id to start from the saved record; any fields you pass override the saved values. Batch rules check the plan, so a saved Batch can be rechecked only until one of its Works is done. Returns passed and failed rules, each with its probability (a rule passes at 0.75 or above), any rules that could not be checked with the reason, and how many rules were sent to TypeSafe (sentToTypeSafe) or answered from saved verdicts (fromSavedVerdicts). Unchanged records reuse earlier verdicts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Id of the Workflow run. | |
| record | Yes | Draft to check; kind is idea, batch, work, or delivery. | |
| projectId | Yes | Id of the Project. |