GET/api/policies

List all policies

Lists all policies. Use this operation to retrieve the available policy definitions, including their enabled state and configured rules.

5 status codes
200Returns an array of policy objects, including each policy's name, enabled state, rules, and source posture checks.
descriptionstringoptional
Policy friendly description
enabledbooleanrequired
Policy status
namestringrequired
Policy name identifier
idstringoptional
Policy ID
rulesarray<object>required
Policy rule object for policy UI editor
source_posture_checksarray<string>required
Posture checks ID's applied to policy source groups
400Returned when the request is invalid.
401Returned when authentication is missing or invalid.
403Returned when the authenticated user is not permitted to access policies.
500Returned when an internal server error occurs.

Error handling

A 400 is returned when the request is invalid; a 401 is returned when authentication is missing or invalid; a 403 is returned when the authenticated user is not permitted to access policies; and a 500 is returned when an internal server error occurs.