Preview - Get a policy by ID

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

Preview endpoint. Expected to reach general availability by 2027-03-03,
pending feedback on request and response shape.

Returns the policy with its current draft settings. schemaDrift indicates whether
the draft was authored against an older schema version. hasDraft indicates whether
unpublished changes exist.

The response carries a strong ETag derived from the optimistic-lock version
counter (omitted for legacy documents that predate versioning). Pass this value
back in an If-Match header on PATCH to guard against lost updates.

Required Permissions: ai-policies:read

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