Skip to content

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.

NameTypeDescription
typeSTRINGReasoner type. Valid values: 'logic', 'prescriptive', 'predictive'. Case-insensitive.
nameSTRINGReasoner name (case-sensitive).

A table with one row per matching reasoner. The table includes the following columns:

ColumnTypeDescription
NAMESTRINGReasoner name.
TYPESTRINGReasoner type.
IDSTRINGReasoner identifier.
VERSIONSTRINGReasoner version.
SIZESTRINGReasoner size (instance family).
STATUSSTRINGReasoner status.
CREATED_BYSTRINGCreator identifier.
CREATED_ONTIMESTAMP_LTZCreation time.
UPDATED_ONTIMESTAMP_LTZLast update time.
AUTO_SUSPEND_MINSINTAuto-suspend inactivity window in minutes.
SUSPENDS_ATTIMESTAMP_LTZ or NULLScheduled suspend time (if applicable).
SETTINGSSTRINGSerialized settings payload.
RUNTIMESTRINGRuntime information.

Get details for a logic reasoner named my_reasoner:

CALL relationalai.api.get_reasoner('logic', 'my_reasoner');