relationalai.api.get_reasoner()
get_reasoner(type STRING, name STRING)A procedure that retrieves details for a specific RAI reasoner.
Requires the eng_user 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 one row per matching reasoner. The table includes the following columns:
| Column | Type | Description |
|---|---|---|
NAME | STRING | Reasoner name. |
TYPE | STRING | Reasoner type. |
ID | STRING | Reasoner identifier. |
VERSION | STRING | Reasoner version. |
SIZE | STRING | Reasoner size (instance family). |
STATUS | STRING | Reasoner status. |
CREATED_BY | STRING | Creator identifier. |
CREATED_ON | TIMESTAMP_LTZ | Creation time. |
UPDATED_ON | TIMESTAMP_LTZ | Last update time. |
AUTO_SUSPEND_MINS | INT | Auto-suspend inactivity window in minutes. |
SUSPENDS_AT | TIMESTAMP_LTZ or NULL | Scheduled suspend time (if applicable). |
SETTINGS | STRING | Serialized settings payload. |
RUNTIME | STRING | Runtime information. |
Example
Section titled “Example”Get details for a logic reasoner named my_reasoner:
CALL relationalai.api.get_reasoner('logic', 'my_reasoner');