Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

agentAudit

(...args)

Arguments

agentId
ID!,non-nullrequired
limit
Int
skip
Int
before

Return type

AgentAuditResponse!
items
total
Int!,non-null
Query sample
query agentAudit(
  $agentId: ID!
  $limit: Int
  $skip: Int
  $before: DateTime
  $after: DateTime
) {
  agentAudit(
    agentId: $agentId
    limit: $limit
    skip: $skip
    before: $before
    after: $after
  ) {
    items {
      __typename
      # ...AgentAuditFragment
    }
    total 
  }
}
Variables
{ "agentId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "limit": 40, "skip": 40, "before": "Example Custom Scalar", "after": "Example Custom Scalar" }
Response sample
{ "data": { "items": [ { "__typename": "AgentAudit" } ], "total": 40 } }

topAgentCountByOwner

(...args)

Arguments

limit
Int
before

Return type

[AgentCountByOwner!]!
owner
Owner!,non-null
count
Int!,non-null
Query sample
query topAgentCountByOwner(
  $filter: AgentFilter
  $limit: Int
  $before: DateTime
  $after: DateTime
) {
  topAgentCountByOwner(
    filter: $filter
    limit: $limit
    before: $before
    after: $after
  ) {
    owner {
      __typename
      # ...OwnerFragment
    }
    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": [ { "owner": { "__typename": "Owner" }, "count": 40 } ] }

topAgentCountByEnvironment

(...args)

Arguments

limit
Int
before

Return type

[AgentCountByEnvironment!]!
environment
Environment!,non-null
count
Int!,non-null
Query sample
query topAgentCountByEnvironment(
  $filter: AgentFilter
  $limit: Int
  $before: DateTime
  $after: DateTime
) {
  topAgentCountByEnvironment(
    filter: $filter
    limit: $limit
    before: $before
    after: $after
  ) {
    environment {
      __typename
      # ...EnvironmentFragment
    }
    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": [ { "environment": { "__typename": "Environment" }, "count": 40 } ] }

topAgentCountByPlatform

(...args)

Arguments

limit
Int
before

Return type

[AgentCountByPlatform!]!
platform
Platform!,non-null
count
Int!,non-null
Query sample
query topAgentCountByPlatform(
  $filter: AgentFilter
  $limit: Int
  $before: DateTime
  $after: DateTime
) {
  topAgentCountByPlatform(
    filter: $filter
    limit: $limit
    before: $before
    after: $after
  ) {
    platform {
      __typename
      # ...PlatformFragment
    }
    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": [ { "platform": { "__typename": "Platform" }, "count": 40 } ] }

topAgentCountByAccessibility

(...args)

Arguments

limit
Int
before

Return type

[AgentCountByAccessibility!]!
accessibility
count
Int!,non-null
Query sample
query topAgentCountByAccessibility(
  $filter: AgentFilter
  $limit: Int
  $before: DateTime
  $after: DateTime
) {
  topAgentCountByAccessibility(
    filter: $filter
    limit: $limit
    before: $before
    after: $after
  ) {
    accessibility 
    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": [ { "accessibility": "PUBLIC", "count": 40 } ] }

topAgentCountByDataSource

(...args)

Arguments

limit
Int
before

Return type

[AgentCountByDataSource!]!
dataSource
DataSource!,non-null
count
Int!,non-null
Query sample
query topAgentCountByDataSource(
  $filter: AgentFilter
  $limit: Int
  $before: DateTime
  $after: DateTime
) {
  topAgentCountByDataSource(
    filter: $filter
    limit: $limit
    before: $before
    after: $after
  ) {
    dataSource {
      __typename
      # ...DataSourceFragment
    }
    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": [ { "dataSource": { "__typename": "DataSource" }, "count": 40 } ] }

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

Mutations

Overview

Objects

Overview

Interfaces

Overview

Unions

Overview

Enums

Overview

Inputs

Overview

Scalars

Overview