Open Policy Agent (OPA) REST API Skill
openpolicy-local
openpolicy-local
| Method | Path | Description |
|---|---|---|
GET | /v1/policies | |
GET | /v1/policies/{id} | List policies |
PUT | /v1/policies/{id} | Get a policy module |
DELETE | /v1/policies/{id} | Create or update a policy module |
GET | /v1/data/{path} | Delete a policy module |
PUT | /v1/data/{path} | Get a document |
PATCH | /v1/data/{path} | Create or overwrite a document |
DELETE | /v1/data/{path} | Update a document |
POST | /v1/data/{path} | Delete a document |
POST | /v0/data/{path} | Get a document (with input) |
POST | / | Get a document (with webhook) |
GET | /v1/query | Execute a simple query |
POST | /v1/query | Execute an ad-hoc query (simple) |
POST | /v1/compile | Execute an ad-hoc query (complex) |
GET | /health | Compile |
GET | /v1/config | Health |
Use this API as a Claude Code skill for instant agent access.
lapsh skill-install openpolicy-local
Downloads and installs to ~/.claude/skills/openpolicy-local/
0.28.0 (2026-02-13)