Access
Get a guardrail or custom policy
Changed onReturns one guardrail or custom policy by id: its enabled state, its networks, models or endpoints, and its Cedar (the source, or what a guardrail generates).
Requires the policy.read permission. See Permissions for the roles and API key permissions that include it.
get/v1/authz/policies/{policyId}
Request
- Base URLhttps://api.openrelay.inc
- URLhttps://api.openrelay.inc/v1/authz/policies/{policyId}
- AuthHTTP bearer
Path parameters
policyIdstring required
Response
The policy
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
endpoint added
- info