Skip to main content
POST
Required scope: write

Request body

NSRLExecuteRequest
string
required
NSR-L code to execute
boolean
Whether to persist facts/rules to the org-scoped NSR-L program store (and mirror compatible items into the KB)

Response

NSRLExecuteResponse
string[]
required
Errors (if any)
integer (int64)
required
Execution time in milliseconds
integer
required
Facts added
QueryResultResponse[]
required
Query results (for ?- queries)
integer
required
Rules added
boolean
required
Whether execution succeeded

Status codes