API Reference
/- finishIntegrationInstallation
startIntegrationInstallation
updateIntegrationStatus
syncIntegration
syncAgent
testIntegrationConnection
syncFlow
createPolicy
updatePolicy
updatePolicyMode
updatePolicyStatus
deletePolicy
updateUser
removeUserFromTenant
createUser
setOrganizationSSOConfiguration
clearOrganizationSSOConfiguration
finishIntegrationInstalla...
Download GraphQL schema
Arguments
platform Type
Return type
Integrationintegration
error
String
redirect Uri
String
claude Code Config
git Hub Copilot Config
Mutation sample
mutation startIntegrationInstallation($platformType: PlatformType!) {
startIntegrationInstallation(platformType: $platformType) {
integration {
__typename
# ...IntegrationFragment
}
error
redirectUri
claudeCodeConfig {
__typename
# ...ClaudeCodeConfigFragment
}
gitHubCopilotConfig {
__typename
# ...GitHubCopilotConfigFragment
}
}
}Variables
{ "platformType": "POWERPLATFORM" }
Response sample
{ "data": { "integration": { "__typename": "Integration" }, "error": "Example String", "redirectUri": "Example String", "claudeCodeConfig": { "__typename": "ClaudeCodeConfig" }, "gitHubCopilotConfig": { "__typename": "GitHubCopilotConfig" } } }
Arguments
install Integration Input
Return type
Integration!Mutation sample
mutation finishIntegrationInstallation($installIntegrationInput: InstallIntegrationInput!) {
finishIntegrationInstallation(installIntegrationInput: $installIntegrationInput) {
platform {
__typename
# ...PlatformFragment
}
status
description
error
}
}Variables
{ "installIntegrationInput": { "platformType": "POWERPLATFORM", "code": "Example String", "state": "Example String", "roleArn": "Example String" } }
Response sample
{ "data": { "platform": { "__typename": "Platform" }, "status": "DISABLED", "description": "Example String", "error": "Example String" } }
Arguments
platform Type
enabled
Boolean!,non-nullrequired
Return type
Integration!Mutation sample
mutation updateIntegrationStatus($platformType: PlatformType!, $enabled: Boolean!) {
updateIntegrationStatus(platformType: $platformType, enabled: $enabled) {
platform {
__typename
# ...PlatformFragment
}
status
description
error
}
}Variables
{ "platformType": "POWERPLATFORM", "enabled": true }
Response sample
{ "data": { "platform": { "__typename": "Platform" }, "status": "DISABLED", "description": "Example String", "error": "Example String" } }
Arguments
platform Type
Return type
Integration!Mutation sample
mutation syncIntegration($platformType: PlatformType!) {
syncIntegration(platformType: $platformType) {
platform {
__typename
# ...PlatformFragment
}
status
description
error
}
}Variables
{ "platformType": "POWERPLATFORM" }
Response sample
{ "data": { "platform": { "__typename": "Platform" }, "status": "DISABLED", "description": "Example String", "error": "Example String" } }
Arguments
agent Id
I D!,non-nullrequired
Return type
Agent!external Id
I D!,non-null
id
I D!,non-null
platform
name
String!,non-null
environment
owner
accessibility
description
String
nodes
edges
tools
created At
updated At
highest Issue Severity
usage
findings
detections
is Runtime Protected
Boolean
Mutation sample
mutation syncAgent($agentId: ID!) {
syncAgent(agentId: $agentId) {
externalId
id
platform {
__typename
# ...PlatformFragment
}
name
environment {
__typename
# ...EnvironmentFragment
}
owner {
__typename
# ...OwnerFragment
}
accessibility
description
nodes {
id
name
}
edges {
connectionA
connectionB
direction
type
}
tools {
__typename
# ...ToolFragment
}
createdAt
updatedAt
highestIssueSeverity {
__typename
# ...IssueFragment
}
usage {
__typename
# ...UsageFragment
}
findings {
__typename
# ...FindingFragment
}
detections {
__typename
# ...DetectionTypeAggregationFragment
}
isRuntimeProtected
}
}Variables
{ "agentId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "externalId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "platform": { "__typename": "Platform" }, "name": "Example String", "environment": { "__typename": "Environment" }, "owner": { "__typename": "Owner" }, "accessibility": "PUBLIC", "description": "Example String", "nodes": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String" } ], "edges": [ { "connectionA": "Example String", "connectionB": "Example String", "direction": "ATOB", "type": "NORMAL" } ], "tools": [ { "__typename": "Tool" } ], "createdAt": "Example Custom Scalar", "updatedAt": "Example Custom Scalar", "highestIssueSeverity": { "__typename": "Issue" }, "usage": { "__typename": "Usage" }, "findings": [ { "__typename": "Finding" } ], "detections": [ { "__typename": "DetectionTypeAggregation" } ], "isRuntimeProtected": true } }
Arguments
input
Return type
Integrationsuccess
Boolean!,non-null
error
Mutation sample
mutation testIntegrationConnection($input: TestIntegrationConnectionInput!) {
testIntegrationConnection(input: $input) {
success
error {
__typename
# ...IntegrationTestErrorFragment
}
}
}Variables
{ "input": { "platformType": "POWERPLATFORM", "roleArn": "Example String" } }
Response sample
{ "data": { "success": true, "error": { "__typename": "IntegrationTestError" } } }
Arguments
flow Id
I D!,non-nullrequired
Return type
Flow!id
I D!,non-null
external Id
I D!,non-null
name
String!,non-null
description
String
platform
environment
owner
status
mode
version
String
graph
agents
tools
data Sources
findings
issues
created At
updated At
captured At
platform Created At
platform Updated At
metadata
Mutation sample
mutation syncFlow($flowId: ID!) {
syncFlow(flowId: $flowId) {
id
externalId
name
description
platform {
__typename
# ...PlatformFragment
}
environment {
__typename
# ...EnvironmentFragment
}
owner {
__typename
# ...OwnerFragment
}
status
mode
version
graph {
__typename
# ...FlowGraphFragment
}
agents {
__typename
# ...AgentPreviewFragment
}
tools {
__typename
# ...ToolPreviewFragment
}
dataSources {
__typename
# ...DataSourcePreviewFragment
}
findings {
__typename
# ...FindingFragment
}
issues {
__typename
# ...IssueFragment
}
createdAt
updatedAt
capturedAt
platformCreatedAt
platformUpdatedAt
metadata
}
}Variables
{ "flowId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "externalId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "description": "Example String", "platform": { "__typename": "Platform" }, "environment": { "__typename": "Environment" }, "owner": { "__typename": "Owner" }, "status": "ACTIVE", "mode": "SYNC", "version": "Example String", "graph": { "__typename": "FlowGraph" }, "agents": [ { "__typename": "AgentPreview" } ], "tools": [ { "__typename": "ToolPreview" } ], "dataSources": [ { "__typename": "DataSourcePreview" } ], "findings": [ { "__typename": "Finding" } ], "issues": [ { "__typename": "Issue" } ], "createdAt": "Example Custom Scalar", "updatedAt": "Example Custom Scalar", "capturedAt": "Example Custom Scalar", "platformCreatedAt": "Example Custom Scalar", "platformUpdatedAt": "Example Custom Scalar", "metadata": "Example Custom Scalar" } }