OPA decision API

OPA's HTTP interface: the caller POSTs its input as JSON to /v1/data/ plus a policy path and receives the decision as JSON.

In more detail

Each request body is a JSON object whose input field holds the document to decide on. Publish one decision document, such as allow plus reasons, rather than separate allow and deny queries, and treat a missing result, timeout or error as deny.

Related terms

Taught in

References