# Tyk Open Policy Agent API

**Canonical:** https://apis.io/apis/tyk/tyk-open-policy-agent-api/  
**Provider:** Tyk — https://apis.io/providers/tyk/  
**Base URL:** https://tyk.io/  
**Documentation:** https://tyk.io/docs/tyk-apis/

Tyk Open Policy Agent API is one of 39 APIs that [Tyk](https://apis.io/providers/tyk/) 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 Open Policy Agent. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, a GitHub repository, a changelog, and 1 JSON Schema.

The Tyk Dashboard permission system can be extended by writing custom rules using an Open Policy Agent (OPA). The rules engine works on top of your Dashboard API, which means you can control not only access rules, but also behaviour of all Dashboard APIs (except your public developer portal) <br/> By default the Dashboard OPA engine is turned off, and you need to explicitly enable it via your Dashboard tyk_analytics.conf file. <br/> You can use OPA rule to accomplish tasks like: <br/> 1. Prevent users from creating keyless APIs. 2. Assign specific categories to APIs created to certain user groups or users. 3. Control access for individual fields. For example, do not allow changing the API active status (e.g. deploy), unless you have a specific permission set. 4. And many more <br/> [Read more about Tyk Open Policy Agent here](https://tyk.io/docs/tyk-dashboard/open-policy-agent/)

## Machine-readable artifacts (12)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/tyk/refs/heads/main/openapi/tyk-open-policy-agent-api-openapi.yml
- **Documentation** — https://tyk.io/docs/tyk-apis/
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/tyk/refs/heads/main/json-schema/tyk-gateway-access-definition-schema.json
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/tyk/refs/heads/main/json-ld/tyk-gateway-context.jsonld
- **GitHubRepository** — https://github.com/TykTechnologies/tyk
- **GraphQL** — https://raw.githubusercontent.com/api-evangelist/tyk/refs/heads/main/graphql/tyk-graphql.md
- **Documentation** — https://tyk.io/docs/tyk-dashboard-api
- **ChangeLog** — https://tyk.io/docs/developer-support/release-notes/dashboard
- **GitHubRepository** — https://github.com/TykTechnologies/tyk-analytics
- **Documentation** — https://tyk.io/docs/
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/tyk/refs/heads/main/json-ld/tyk-mdcb-context.jsonld
- **GitHubRepository** — https://github.com/TykTechnologies/tyk-sink

## Other Tyk APIs (12)

- [Tyk Additional Permissions API](https://apis.io/apis/tyk/tyk-additional-permissions-api/)
- [Tyk Analytics API](https://apis.io/apis/tyk/tyk-analytics-api/)
- [Tyk APIs API](https://apis.io/apis/tyk/tyk-apis-api/)
- [Tyk Assets API](https://apis.io/apis/tyk/tyk-assets-api/)
- [Tyk AuditLogs API](https://apis.io/apis/tyk/tyk-auditlogs-api/)
- [Tyk Basic Authentication API](https://apis.io/apis/tyk/tyk-basic-authentication-api/)
- [Tyk Batch Requests API](https://apis.io/apis/tyk/tyk-batch-requests-api/)
- [Tyk Cache Invalidation API](https://apis.io/apis/tyk/tyk-cache-invalidation-api/)
- [Tyk Certificates API](https://apis.io/apis/tyk/tyk-certificates-api/)
- [Tyk Certs API](https://apis.io/apis/tyk/tyk-certs-api/)
- [Tyk CertsTag API](https://apis.io/apis/tyk/tyk-certstag-api/)
- [Tyk Config API](https://apis.io/apis/tyk/tyk-config-api/)

## Tags

Open Policy Agent

---

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