Get a policy by ID

Returns the policy with its current draft settings. schemaDrift indicates whetherthe draft was authored against an older schema version. hasDraft indicates whetherunpublished changes exist.The response carries a strong ETag derived from the optimistic-lock versioncounter (omitted for legacy documents that predate versioning). Pass this valueback in an If-Match header on PATCH to guard against lost updates.Required Permissions: ai-policies:read

Preview: This endpoint is currently in a preview state and is subject to breaking changes without warning.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Policy ID

Headers
uuid
required
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

The environment UUID identifier.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json