v1
latestOpenAPI 3.0.32026-07-1761731.6 KBExecute a policy
Path parameters
The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404.
Query parameters
If parameter is true, response will formatted for humans.
If parameter is true, response will include build/version info in addition to the result.
Return query explanation in addition to result.
Return query performance metrics in addition to result.
Instrument query evaluation and return a superset of performance metrics in addition to result.
Treat built-in function call errors as fatal and return an error immediately.
Headers
Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above server.encoding.gzip.min_length value. See the configuration section
Response
Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property.
Example response
{
"result": {
"allow": true,
"user_is_admin": true,
"user_is_granted": []
}
}