Skip to content

List all policies

GET
/api/v1/organizations/{orgId}/policies
curl --request GET \
--url https://localhost:10001/api/v1/organizations/example/policies \
--header 'Authorization: <Authorization>'

List all policies for an organization, including their controls

orgId
required
string

Organization ID or UUID (urn:uuid optional)

Policies with controls

Media type application/json
Array<object>

A reusable template of controls in the organization’s library, applied to projects rather than used directly

object
cid

Assigned by the integrity service at creation

string
controls

Present on read, ignored on update

Array<object>

A single requirement within a policy template, identified by its control code

object
cid

Assigned by the integrity service at creation

string
citations
Array<object>
object
title
string
url
string
controlCode

Alphanumeric, . and -; upper-cased

string
createdAt
string format: date-time
description
string
id
integer
policyId

Assigned from the parent policy

integer
title
string
updatedAt
string format: date-time
createdAt
string format: date-time
description
string
iconUrl
string
id
integer
name
string
organizationId

Taken from the path on create

integer
slug

Derived from name

string
type

See PolicyType for values

string
Allowed values: Risk Management Internal Regulatory Custom
updatedAt
string format: date-time
version
string
Example
[
{
"type": "Risk Management"
}
]

Bad request - Invalid organization ID

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Unauthorized - Authentication required

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Forbidden - No organization access

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Internal server error

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}