Post evaluate query
Query v2: query for any expression.
Unlike GET /facts, which only lists facts you’ve added to Oso Cloud, you can use POST /evaluate_query to list derived information about any rule in your policy.
Documentation Index
Fetch the complete documentation index at: https://www.osohq.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Requires an API key to access.
Body
A generic query comprising 1+ predicates conjuncted together.
Predicate name and variable names.
INVARIANT: all variable names must exist in constraints. This ensures that all variables at least have a type.
2 elementsPredicate name and variable names.
INVARIANT: all variable names must exist in constraints. This ensures that all variables at least have a type.
2 elementsMap of variable names to their type and value(s). Every variable is at least typed and may also be constrained to a set of values.