Skip to main content
GET
Returns all policies for the agent, including disabled ones, ordered by creation time. The response is an array, not a paginated envelope. It can be empty when no policies exist. See the Guardrails overview for shared schemas and runtime limitations.
string
required
Bearer workspace API key. The key needs read scope.
string
required
Agent UUID in the authenticated workspace.

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.