# Permit.io Condition Sets API

**Canonical:** https://apis.io/apis/permit-io/permit-io-condition-sets-api/  
**Provider:** Permit.io — https://apis.io/providers/permit-io/  
**Base URL:** https://api.permit.io  
**Documentation:** https://docs.permit.io/

Permit.io Condition Sets API is one of 43 APIs that [Permit.io](https://apis.io/providers/permit-io/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Condition Sets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

Condition sets are sets of objects that are dynamically defined based on conditions on the objects' attributes. Conditions sets allows you the flexibility of ABAC with the simplicity of RBAC. There are currently two types of condition sets at the moment: 1) user set = the set of users that match all the specified conditions. 2) resource set = the set of resources that match all the specified conditions. Examples: - `us_based_employees` = {U1, ..., Un} = {all **users** who are *located in the US* and are *assigned the employee role*} - `private_repos` = {R1, ..., Rn} = {all **resources** *of type repository* that *are private*} We can then picture a **matrix** of assignment between *user sets* and *resource sets*. Example: If we check the checkbox where `us_based_employees` and `private_repos->clone` action intersect, we are setting a rule: *all US based employees can clone private repos*.

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/permit-io/refs/heads/main/openapi/permit-io-condition-sets-api-openapi.yml
- **Documentation** — https://docs.permit.io/
- **APIReference** — https://api.permit.io/v2/redoc

## Other Permit.io APIs (12)

- [Permit.io Access Requests (EAP) API](https://apis.io/apis/permit-io/permit-io-access-requests-eap-api/)
- [Permit.io Activity Log API](https://apis.io/apis/permit-io/permit-io-activity-log-api/)
- [Permit.io API History API](https://apis.io/apis/permit-io/permit-io-api-history-api/)
- [Permit.io API Keys API](https://apis.io/apis/permit-io/permit-io-api-keys-api/)
- [Permit.io Audit Elements Data API](https://apis.io/apis/permit-io/permit-io-audit-elements-data-api/)
- [Permit.io Audit Log Replay API](https://apis.io/apis/permit-io/permit-io-audit-log-replay-api/)
- [Permit.io Audit Logs API](https://apis.io/apis/permit-io/permit-io-audit-logs-api/)
- [Permit.io Bulk Operations API](https://apis.io/apis/permit-io/permit-io-bulk-operations-api/)
- [Permit.io Condition Set Rules API](https://apis.io/apis/permit-io/permit-io-condition-set-rules-api/)
- [Permit.io Deprecated API](https://apis.io/apis/permit-io/permit-io-deprecated-api/)
- [Permit.io Elements Configs (EAP) API](https://apis.io/apis/permit-io/permit-io-elements-configs-eap-api/)
- [Permit.io Email Configurations API](https://apis.io/apis/permit-io/permit-io-email-configurations-api/)

## Tags

Condition Sets

---

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