Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

topAgentCountByFindingType

(...args)

Arguments

limit
Int
before

Return type

[AgentCountByFindingType!]!
findingType
FindingType!,non-null
count
Int!,non-null
Query sample
query topAgentCountByFindingType(
  $filter: AgentFilter
  $limit: Int
  $before: DateTime
  $after: DateTime
) {
  topAgentCountByFindingType(
    filter: $filter
    limit: $limit
    before: $before
    after: $after
  ) {
    findingType 
    count 
  }
}
Variables
{ "filter": { "search": "Example String", "severity": { "__typename": "SeverityFilter" }, "platform": { "__typename": "PlatformFilter" }, "environment": { "__typename": "EnvironmentFilter" }, "accessibility": { "__typename": "AccessibilityFilter" }, "owner": { "__typename": "OwnerFilter" }, "tools": { "__typename": "ToolFilter" }, "findings": { "__typename": "FindingFilter" }, "id": { "__typename": "StringFilter" }, "usage": { "__typename": "UsageRangeFilter" }, "lastSession": { "__typename": "DateRangeFilter" }, "foundationalModel": { "__typename": "StringFilter" } }, "limit": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "findingType": "INSTRUCTIONS_NOT_CLEAR", "count": 40 } ] }

auditTimeline

(...args)

Arguments

before

Return type

[AuditTimelineEntry!]!
key
String!,non-null
label
String!,non-null
value
Int!,non-null
Query sample
query auditTimeline(
  $filter: AgentFilter
  $before: DateTime
  $after: DateTime
) {
  auditTimeline(
    filter: $filter
    before: $before
    after: $after
  ) {
    key 
    label 
    value 
  }
}
Variables
{ "filter": { "search": "Example String", "severity": { "__typename": "SeverityFilter" }, "platform": { "__typename": "PlatformFilter" }, "environment": { "__typename": "EnvironmentFilter" }, "accessibility": { "__typename": "AccessibilityFilter" }, "owner": { "__typename": "OwnerFilter" }, "tools": { "__typename": "ToolFilter" }, "findings": { "__typename": "FindingFilter" }, "id": { "__typename": "StringFilter" }, "usage": { "__typename": "UsageRangeFilter" }, "lastSession": { "__typename": "DateRangeFilter" }, "foundationalModel": { "__typename": "StringFilter" } }, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": [ { "key": "Example String", "label": "Example String", "value": 40 } ] }

listEnvironments

Return type

[Environment!]!
externalId
ID!,non-null
id
ID!,non-null
name
String!,non-null
Query sample
query listEnvironments {
  listEnvironments {
    externalId 
    id 
    name 
    envType 
  }
}
Response sample
{ "data": [ { "externalId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "envType": "Prod" } ] }

listOwners

Return type

[OwnerOption!]!
name
String!,non-null
email
ID!,non-null
count
Int!,non-null
Query sample
query listOwners {
  listOwners {
    name 
    email 
    count 
  }
}
Response sample
{ "data": [ { "name": "Example String", "email": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "count": 40 } ] }

listPlatforms

Return type

[PlatformOption!]!
type
PlatformType!,non-null
name
String!,non-null
count
Int!,non-null
Query sample
query listPlatforms {
  listPlatforms {
    type 
    name 
    count 
  }
}
Response sample
{ "data": [ { "type": "POWERPLATFORM", "name": "Example String", "count": 40 } ] }

listTools

Return type

[ToolOption!]!
id
ID!,non-null
name
String
type
String!,non-null
count
Int!,non-null
Query sample
query listTools {
  listTools {
    id 
    name 
    type 
    count 
  }
}
Response sample
{ "data": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "type": "Example String", "count": 40 } ] }

usageRange

UsageRange!,non-null

Return type

UsageRange!
min
Int!,non-null
max
Int!,non-null
Query sample
query usageRange {
  usageRange {
    min 
    max 
  }
}
Response sample
{ "data": { "min": 40, "max": 40 } }

lastSessionRange

DateRange!,non-null

Return type

DateRange!
Query sample
query lastSessionRange {
  lastSessionRange {
    min 
    max 
  }
}
Response sample
{ "data": { "min": "Example Custom Scalar", "max": "Example Custom Scalar" } }

integrations

Return type

IntegrationsResponse!
tenantId
String!,non-null
items
Query sample
query integrations {
  integrations {
    tenantId 
    items {
      __typename
      # ...IntegrationFragment
    }
  }
}
Response sample
{ "data": { "tenantId": "Example String", "items": [ { "__typename": "Integration" } ] } }

integration

(platformType)
Integration!,non-null

Arguments

platformType
PlatformType!,non-nullrequired

Return type

Integration!
platform
Platform!,non-null
status
description
String!,non-null
error
String
Query sample
query integration($platformType: PlatformType!) {
  integration(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" } }

listFoundationalModels

Return type

[FoundationalModelOption!]!
value
String!,non-null
label
String!,non-null
count
Int!,non-null
Query sample
query listFoundationalModels {
  listFoundationalModels {
    value 
    label 
    count 
  }
}
Response sample
{ "data": [ { "value": "Example String", "label": "Example String", "count": 40 } ] }

Mutations

Overview

Objects

Overview

Interfaces

Overview

Unions

Overview

Enums

Overview

Inputs

Overview

Scalars

Overview