Skip to main content
GET
Get a rego policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

identifier
string
required
org
string
required

Response

Successful Response

identifier
string
required

Immutable identifier, as first published

name
string
required

Display name

newest_version
NewestVersionResponse · object
required

The newest version whatever its status, which is not necessarily the one an evaluation runs

created_at
number
required

Unix timestamp the policy was created at

created_by
string
required

Display name of the user who created it

updated_at
number
required

Unix timestamp of the last publish or metadata change

description
string | null

Description, if it has one

current_version
CurrentVersionResponse · object | null

The highest-numbered valid version, which is the one an evaluation runs; absent until a version has been validated

Last modified on October 9, 2026