openpolicy.local

OPA provides policy-based control for cloud native environments. The following endpoints (such as PUT /v1/policies) provide reference documentation for the OPA REST API. API specification viewing options - View the specification in Redoc (default) - **[View the specific

16 endpoints open_data
๐Ÿ“„ Docs ๐Ÿ“‹ OpenAPI spec ๐Ÿ”ฌ Try in Swagger UI

No SDKs indexed for this API yet.

curl examples
Health
curl \
  http://openpolicy.local/health
Execute an ad-hoc query (simple)
curl \
  http://openpolicy.local/v1/query
Get configurations
curl \
  http://openpolicy.local/v1/config
Endpoints (16 total)
GET
/health
Health
GET
/v1/query
Execute an ad-hoc query (simple)
GET
/v1/config
Get configurations
GET
/v1/policies
List policies
GET
/v1/data/{path}
Get a document
GET
/v1/policies/{id}
Get a policy module
POST
/
Execute a simple query
POST
/v1/query
Execute an ad-hoc query (complex)
POST
/v1/compile
Compile
POST
/v0/data/{path}
Get a document (with webhook)
POST
/v1/data/{path}
Get a document (with input)
PUT
/v1/data/{path}
Create or overwrite a document
Language coverage

No SDKs yet

At a glance
Total SDKs0
Languages0
Endpoints16
Categories1
http://openpolicy.local