Skip to main content
GET
Returns one policy belonging to the authenticated workspace. See the Guardrails overview for shared schemas and runtime limitations.
string
required
Bearer workspace API key. The key needs read scope.
string
required
Guardrail policy UUID.

Response

string
Policy UUID.
string
Owning workspace UUID.
string
Agent UUID.
string
Check type from the catalogue.
object
Check-specific definition. See the configuration schemas.
boolean
Whether the policy is enabled.
array
Channel names, or null for all channels.
datetime
Creation timestamp.
datetime
Last update timestamp.