PolicyDrafts
Get the draft for a policy
get/zones/{zone_id}/policies/{policy_id}/draft
Path parameters
zone_idstring required
The zone identifier
policy_idstring required
The policy identifier
Query parameters
format'cedar' | 'json'
Narrows which Cedar representation the response includes. When omitted, both cedar_json and cedar_raw are populated. Pass json to receive only cedar_json, or cedar to receive only cedar_raw. Callers that don't care about payload size can skip this parameter.
Headers
X-API-Versionstring
API version header (date-based, e.g. 2026-02-01)
X-Client-Request-IDstring uuid
Unique request identifier specified by the originating caller and passed along by proxies.
Response
The policy draft