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 } }