Skip to main content
QUERY
policies(search: String, siteId: Int): [Policy!]!

Arguments

Text matched against policy names and descriptions.

siteId
Int

Id of the site to limit the list to.

Returns

[Policy!]!
author

The user named as the author of the policy.

description
String

Description of the policy.

The document attached to this version of the policy.

id
String!

Id of the policy, shared by all of its versions.

name
String!

Name of the policy.

orgId
String!

Id of the organization the policy belongs to.

siteNames
[String!]!

Names of the sites the policy is restricted to. Empty if there are no site restrictions.

status
String!

One of 'DRAFT' (Draft) or 'PUBLISHED' (Published).

updatedAt
DateTime!

When this version of the policy was last changed.

version
Int!

Version number of the policy.

Query
Response