Create Policy Rule
Create a new manual rule for a policy.
POST
Create Policy Rule
Path Parameters
Body
application/json
Request model for creating a policy rule manually.
Type of policy rule (ODRL-inspired).
Available options:
permission, prohibition, obligation, recommendation Required string length:
1 - 100Consequence when rule is triggered.
- RuleConsequence
- Consequence
Minimum string length:
1Constraint for conditional rule application.
- RuleConstraint · object[]
- Constraints · object[]
Category of policy document.
Available options:
privacy, ethics, security, compliance, operational, brand, custom Review status of a policy rule.
Available options:
draft, approved, rejected, modified Response
Successful Response
Domain model for Policy Rule.
This follows an ODRL-inspired schema:
- rule_type: permission/prohibition/obligation/recommendation
- action: what action this rule governs
- target: what asset/data is affected
- assignee: who must comply (usually "agent")
- constraints: conditions under which rule applies
- consequence: what happens when rule is violated
Type of policy rule (ODRL-inspired).
Available options:
permission, prohibition, obligation, recommendation Consequence when rule is triggered.
- RuleConsequence
- Consequence
Constraint for conditional rule application.
- RuleConstraint · object[]
- Constraints · object[]
Provenance information for rule extraction.
- RuleProvenance
- Provenance
Category of policy document.
Available options:
privacy, ethics, security, compliance, operational, brand, custom Review status of a policy rule.
Available options:
draft, approved, rejected, modified Last modified on April 21, 2026
Create Policy Rule