GET /v1beta1/policies
Retrieve a list of policies based on various filter criteria including organization, project, user, role, or group.Query Parameters
Filter policies by organization ID or name. Accepts both UUID and organization name.
Filter policies by project ID or name. Accepts both UUID and project name.
Filter policies by user ID or email. Accepts both UUID and user identifier.
Filter policies by role ID or name. Accepts both UUID and role name.
Filter policies by group ID. Must be a valid UUID.
Response
List of policy objects matching the filter criteria.
Unique identifier for the policy.
ID of the role assigned by this policy.
Resource identifier in the format
namespace:resource_id (e.g., app/organization:123, app/project:456).Principal identifier in the format
namespace:principal_id (e.g., app/user:789, app/group:012).Additional metadata associated with the policy.
Timestamp when the policy was created.
Timestamp when the policy was last updated.
Response Example
Error Responses
Notes
- Filter parameters can accept both UUIDs and human-readable names (except for
group_idwhich requires a UUID) - Multiple filters can be combined to narrow down results
- All query parameters are optional
- Returns an empty array if no policies match the filter criteria