How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Permit.io Condition Sets API

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*.

Permit.io Condition Sets API is one of 43 APIs that Permit.io publishes on the 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.

This API exposes 7 operations across 4 paths, and defines 16 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against the base URL https://api.permit.io.

7 operations 4 paths 16 schemas 1 DELETE4 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://api.permit.io
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Permit.io Condition Sets API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (HTTPBearer).

  • HTTPBearer — Authorization header, we support the bearer authentication scheme (see: RFC 6750)

Paths & Operations 7

Across 4 paths, the API surfaces 7 operations — 1 DELETE, 4 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Condition Sets 7

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 simplic…

GET
/v2/schema/{proj_id}/{env_id}/condition_sets
List Condition Sets
list_condition_sets 7 params → 200422
POST
/v2/schema/{proj_id}/{env_id}/condition_sets
Create Condition Set
create_condition_set 2 params body → 200422
GET
/v2/schema/{proj_id}/{env_id}/condition_sets/{condition_set_id}
Get Condition Set
get_condition_set 3 params → 200422
DELETE
/v2/schema/{proj_id}/{env_id}/condition_sets/{condition_set_id}
Delete Condition Set
delete_condition_set 3 params → 204422
PATCH
/v2/schema/{proj_id}/{env_id}/condition_sets/{condition_set_id}
Update Condition Set
update_condition_set 3 params body → 200422
GET
/v2/schema/{proj_id}/{env_id}/condition_sets/{condition_set_id}/ancestors
Get Condition Set Ancestors
get_condition_set_ancestors 5 params → 200422
GET
/v2/schema/{proj_id}/{env_id}/condition_sets/{condition_set_id}/descendants
Get Condition Set Descendants
get_condition_set_descendants 5 params → 200422

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are ResourceRead (19 properties), ResourceRoleRead (15 properties), ConditionSetRead (15 properties), ConditionSetCreate (8 properties). Each schema is shown below with its type and property counts.

ConditionSetType
string
An enumeration.
PaginatedResult_ConditionSetRead_
object
3 properties 2 required
AttributeBlockRead
object
4 properties 2 required
ConditionSetCreate
object
8 properties 2 required
permit_backend__schemas__schema_derived_role_rule__DerivationSettings
object
Settings for a derived role or a derived role rule
1 property
HTTPValidationError
object
1 property
DerivedRoleBlockRead
object
3 properties 1 required
ValidationError
object
3 properties 3 required
RelationBlockRead
object
4 properties 2 required
AttributeType
string
supported attribute primitives
DerivedRoleRuleRead
object
7 properties 6 required
ConditionSetRead
object
15 properties 8 required
ConditionSetUpdate
object
4 properties
ResourceRead
object
19 properties 8 required
ActionBlockRead
object
7 properties 1 required
ResourceRoleRead
object
15 properties 10 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

permit-io-condition-sets-api-openapi.yml Raw ↑

Other APIs Permit.io publishes across the network.

Permit.io Access Requests (EAP) API
Permit.io Activity Log API
Permit.io API History API
Permit.io API Keys API
Permit.io Audit Elements Data API
Permit.io Audit Log Replay API
Permit.io Audit Logs API
Permit.io Bulk Operations API
Permit.io Condition Set Rules API
Permit.io Deprecated API
Permit.io Elements Configs (EAP) API
Permit.io Email Configurations API
Where this information came from

This is an independent, third-party profile of Permit.io Condition Sets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.