AtlaSent — Create Policy
atlasent_create_policyCreate a draft policy bundle to define rules for access control or approval gates. Publish it with update_policy.
Instructions
Create a new constraint bundle for an action. The bundle starts in 'draft' status — call update_policy to publish it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Ordered list of rules — first match wins. | |
| title | Yes | Human-readable policy title. | |
| org_id | Yes | Organization ID that will own the policy. | |
| actions | No | Action-specific configuration. | |
| version | No | Semantic version string (e.g. '1.0.0'). | |
| priority | No | Evaluation priority (lower number = higher priority). | |
| policy_id | Yes | Client-assigned unique ID for this policy bundle (e.g. 'deploy-gate'). | |
| applies_to | No | Scope selector controlling which requests this policy applies to. | |
| expires_at | No | ISO-8601 timestamp when the policy expires. | |
| description | No | Optional human-readable description. | |
| policy_type | Yes | Policy type (e.g. 'access_control', 'approval_gate'). | |
| effective_at | No | ISO-8601 timestamp when the policy becomes effective. |