Get Policies

Returns a list of all policies in the system. When projectKey is provided, returns both Global and Project-scoped policies for that project.

Requires the Read Policies role to be set on the User or Group level. For Xray version 3.21.2 and above with Projects, a Project Admin with Manage Security Assets privilege can get a list of Global and Project Policies by using the additional query parameter projectKey.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

When provided, returns policies scoped to the specified project in addition to global policies. Requires Xray 3.21.2+ with Projects enabled.

string
enum

When set to true, includes notification-related action fields in the response.

Allowed:
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json