# CreatePolicyRequest


[API catalog](/reference/api/) · [AI Governance overview](/reference/api/ai-governance/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes/governance/) · [OpenAPI specification](/reference/api/ai-governance/api.yaml)

API version: 1



Schema constraints and annotations:

```json
{
  "description": "Fields required to create a new policy. Omitting `cedar_v1` creates an `allowlist_v0` policy with an empty rule set. Supplying `cedar_v1` creates a Cedar:V1 policy; rules are embedded in the Cedar text rather than managed via the rules sub-resource.\n",
  "properties": {
    "cedar_v1": {
      "$ref": "#/components/schemas/CedarV1Policy"
    },
    "name": {
      "description": "Policy name, unique within the organization.",
      "examples": [
        "Security Research — hardened"
      ],
      "type": "string"
    },
    "scope": {
      "$ref": "#/components/schemas/Scope"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}
```



