Skip to main content
GET
List Policies

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Headers

x-api-key
string | null

Path Parameters

project_id
string
required

Query Parameters

include_inactive
boolean
default:false

Also list policies not in force

limit
integer
default:100
Required range: 1 <= x <= 200

Response

Successful Response

A project's policies, by priority. has_more: there are more than limit.

policies
PolicyResponse · object[]
required
has_more
boolean
required