Share feedback
Answers are generated based on the documentation.

Schema

Policy

Type: object

Full policy representation. Exactly one of allowlist_v0 or cedar_v1 is present, depending on the policy type.
allowlist_v0

Schema: AllowlistV0

cedar_v1

Schema: CedarV1Policy

created_at · required

Type: string

All schema constraints and annotations
{
  "examples": [
    "2026-04-22T00:00:00Z"
  ],
  "format": "date-time",
  "type": "string"
}
id · required

Type: string

All schema constraints and annotations
{
  "examples": [
    "pol_06evsmp24r1pg71cm8500546pkbn"
  ],
  "type": "string"
}
name · required

Type: string

Human-readable label, unique within the organization.
All schema constraints and annotations
{
  "description": "Human-readable label, unique within the organization.",
  "examples": [
    "Security Research — hardened"
  ],
  "type": "string"
}
org · required

Type: string

All schema constraints and annotations
{
  "examples": [
    "my-org"
  ],
  "type": "string"
}
scope · required

Schema: Scope

updated_at · required

Type: string

All schema constraints and annotations
{
  "examples": [
    "2026-04-22T00:00:00Z"
  ],
  "format": "date-time",
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Full policy representation. Exactly one of `allowlist_v0` or `cedar_v1` is present, depending on the policy type.\n",
  "properties": {
    "allowlist_v0": {
      "$ref": "#/components/schemas/AllowlistV0"
    },
    "cedar_v1": {
      "$ref": "#/components/schemas/CedarV1Policy"
    },
    "created_at": {
      "examples": [
        "2026-04-22T00:00:00Z"
      ],
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "examples": [
        "pol_06evsmp24r1pg71cm8500546pkbn"
      ],
      "type": "string"
    },
    "name": {
      "description": "Human-readable label, unique within the organization.",
      "examples": [
        "Security Research — hardened"
      ],
      "type": "string"
    },
    "org": {
      "examples": [
        "my-org"
      ],
      "type": "string"
    },
    "scope": {
      "$ref": "#/components/schemas/Scope"
    },
    "updated_at": {
      "examples": [
        "2026-04-22T00:00:00Z"
      ],
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "org",
    "scope",
    "created_at",
    "updated_at"
  ],
  "type": "object"
}