relationalai.api.suspend_reasoner()
suspend_reasoner(type STRING, name STRING)A procedure that suspends a running reasoner.
Suspended reasoners do not consume compute resources.
Requires the eng_admin application role.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
type | STRING | Reasoner type. Valid values: 'logic', 'prescriptive', 'predictive'. Case-insensitive. |
name | STRING | Reasoner name (case-sensitive). |
Returns
Section titled “Returns”A table with the following columns:
| Column | Type | Description |
|---|---|---|
NAME | STRING | Reasoner name. |
TYPE | STRING | Reasoner type. |
MESSAGE | STRING | A message describing the result. |
Example
Section titled “Example”Suspend a logic reasoner named my_reasoner:
CALL relationalai.api.suspend_reasoner('logic', 'my_reasoner');