# Open Policy Agent Compile API

**Canonical:** https://apis.io/apis/open-policy-agent/open-policy-agent-compile-api/  
**Provider:** Open Policy Agent — https://apis.io/providers/open-policy-agent/  
**Documentation:** https://www.openpolicyagent.org/docs/latest/rest-api/#policy-api

Open Policy Agent Compile API is one of 8 APIs that [Open Policy Agent](https://apis.io/providers/open-policy-agent/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Compile. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 1 JSON Schema.

The Compile API from Open Policy Agent — 1 operation(s) for compile.

## Machine-readable artifacts (17)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/openapi/open-policy-agent-compile-api-openapi.yml
- **Documentation** — https://www.openpolicyagent.org/docs/latest/rest-api/#policy-api
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/json-schema/opa-policy-schema.json
- **BrunoCollection** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/policy/bruno.json
- **Documentation** — https://www.openpolicyagent.org/docs/latest/rest-api/#data-api
- **BrunoCollection** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/data/bruno.json
- **Documentation** — https://www.openpolicyagent.org/docs/latest/rest-api/#query-api
- **BrunoCollection** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/query/bruno.json
- **Documentation** — https://www.openpolicyagent.org/docs/latest/rest-api/#compile-api
- **BrunoCollection** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/compile/bruno.json
- **Documentation** — https://www.openpolicyagent.org/docs/latest/rest-api/#health-api
- **BrunoCollection** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/health/bruno.json
- **Documentation** — https://www.openpolicyagent.org/docs/latest/rest-api/#config-api
- **BrunoCollection** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/config/bruno.json
- **Documentation** — https://www.openpolicyagent.org/docs/latest/rest-api/#status-api
- **BrunoCollection** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/status/bruno.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/open-policy-agent/refs/heads/main/apis.yml

## Other Open Policy Agent APIs (7)

- [Open Policy Agent Config API](https://apis.io/apis/open-policy-agent/open-policy-agent-config-api/)
- [Open Policy Agent Data API](https://apis.io/apis/open-policy-agent/open-policy-agent-data-api/)
- [Open Policy Agent Health API](https://apis.io/apis/open-policy-agent/open-policy-agent-health-api/)
- [Open Policy Agent Policies API](https://apis.io/apis/open-policy-agent/open-policy-agent-policies-api/)
- [Open Policy Agent Query API API](https://apis.io/apis/open-policy-agent/open-policy-agent-query-api-api/)
- [Open Policy Agent Query API](https://apis.io/apis/open-policy-agent/open-policy-agent-query-api/)
- [Open Policy Agent Status API](https://apis.io/apis/open-policy-agent/open-policy-agent-status-api/)

## Tags

Compile

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/open-policy-agent/open-policy-agent-compile-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/open-policy-agent/.
