ruleverdict
v0.1.0Deterministic rule-engine decisions with document-grounded explanations, rules and usage tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
decide
Make a decision in a domain from structured facts and/or free text; the verdict comes from the rule engine, with a document-grounded explanation.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
as_of | string | Evaluate as of this date (optional). |
fact_sources | object | Sources for the facts (optional). |
facts | object | Facts payload for this call. |
pattern_01 | boolean | First pattern to evaluate. |
pattern_02 | boolean | Second pattern to evaluate. |
text | string | Text content for this call. |
get_parameters
The facts a domain's rules decide on, most decisive first — what to collect before decide.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
list_rules
Inspect a domain's rules — conditions, verdicts, salience, overlaps.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
get_rule_source
Fetch a domain's rule set as editable YAML.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
import_policy_rules
Turn a written policy document into draft rules, each citing the sentence it encodes. Nothing is saved.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
text * | string | Text content for this call. |
put_rules
Create or replace a domain's rule set from YAML (dry_run to validate).
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
rules * | string | Rules payload for this call. |
dry_run | boolean | When true, preview the change without applying it (optional). |
ingest_text
Add policy text to a domain's knowledge base, optionally dated or replacing an earlier version.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
text * | string | Text content for this call. |
effective_from | string | Effective-from date (optional). |
effective_until | string | Effective-until date (optional). |
supersedes | string | Identifier of the record this supersedes (optional). |
list_documents
Browse a domain's ingested documents.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Domain this call applies to. |
get_usage
Check your plan and remaining monthly decision quota.