Skip to main content
QUERY
policy(id: String!, version: Int): Policy

Arguments

id
String!
required

Id of the policy.

version
Int

Version of the policy to return.

Returns

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
Variables
Response