Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Objects

Overview

Interfaces

Overview

Unions

Overview

Enums

Overview

Inputs

Overview

PolicyModeFilter

Filter for policy mode

in
[PolicyMode!],non-null

Modes to include in the results

Sample
{ "in": [ "DRAFT" ] }
Referenced in

PolicyStatusFilter

Filter for policy status

in

Statuses to include in the results

Sample
{ "in": [ "ACTIVE" ] }
Referenced in

PolicyTriggerTypeFilter

Filter for policy trigger types

Trigger types to include in the results

Sample
{ "in": [ "AGENT_CREATED" ] }

CreatePolicyInput

Input for creating a new policy.

Note: Description is not included in creation input as it is generated asynchronously by AI after the policy is created. Use UpdatePolicyInput to manually set or modify the description later.

name
String!,non-null

Policy name

trigger

Trigger configuration

conditions

Condition groups

actions

Actions to execute

autoResolve
Boolean!,non-null

Automatically resolve issues when conditions are no longer met

Sample
{ "name": "Example String", "trigger": { "__typename": "PolicyTriggerInput" }, "conditions": { "__typename": "PolicyConditionGroupInput" }, "actions": [ { "__typename": "PolicyActionInput" } ], "autoResolve": true }

UpdatePolicyInput

Input for updating an existing policy

name
String

Policy name

description
String

Policy description

Trigger configuration

Condition groups

actions

Actions to execute

autoResolve
Boolean

Automatically resolve issues when conditions are no longer met

Sample
{ "name": "Example String", "description": "Example String", "trigger": { "__typename": "PolicyTriggerInput" }, "conditions": { "__typename": "PolicyConditionGroupInput" }, "actions": [ { "__typename": "PolicyActionInput" } ], "autoResolve": true }

PolicyTriggerInput

Input for policy trigger

type

Type of trigger event

Sample
{ "type": "AGENT_CREATED" }

PolicyOrderByInput

Input for specifying policy sorting

field
direction
Sample
{ "field": "NAME", "direction": "ASC" }

ConfigureSSOInput

Input for configuring SSO

signInEndpoint
String!,non-null
signingCertBase64
String!,non-null
domains
[String!]!,non-null
Sample
{ "signInEndpoint": "Example String", "signingCertBase64": "Example String", "domains": [ "Example String" ] }

Scalars

Overview