API Reference
/- topAgentCountByOwner
agents
agent
agentAudit
topAgentCountByEnvironment
topAgentCountByPlatform
topAgentCountByAccessibility
topAgentCountByDataSource
topAgentCountByFindingType
auditTimeline
listEnvironments
listOwners
listPlatforms
listTools
usageRange
lastSessionRange
integrations
integration
listFoundationalModels
tools
tool
dataSources
dataSource
accessChannels
accessChannel
inventoryCategories
listToolTypes
topToolByExternalType
listDataSourceTypes
listChannelTypes
sessionActivities
sessions
sessionsCount
activitiesTimelineChart
detections
detection
flows
flow
policies
policy
testPolicy
policyTriggerTypes
policyActionTypes
policyFilterOptions
previewPolicyImpact
generatePolicyMetadata
users
exportUsers
organizationConfiguration
topAgentCountByOwner
Download GraphQL schema
Arguments
filter
before
after
order By
limit
Int
Default:100
offset
Int
Default:0
Return type
Agentsitems
total
Int!,non-null
aggregations
metadata
Query sample
query agents(
$filter: AgentFilter
$before: DateTime
$after: DateTime
$orderBy: [AgentOrderByInput!]
$limit: Int
$offset: Int
) {
agents(
filter: $filter
before: $before
after: $after
orderBy: $orderBy
limit: $limit
offset: $offset
) {
items {
__typename
# ...AgentFragment
}
total
aggregations {
__typename
# ...AgentAggregationsFragment
}
metadata {
__typename
# ...AgentsResponseMetadataFragment
}
}
}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", "orderBy": [ { "field": "NAME", "direction": "ASC" } ], "limit": 40, "offset": 40 }
Response sample
{ "data": { "items": [ { "__typename": "Agent" } ], "total": 40, "aggregations": { "__typename": "AgentAggregations" }, "metadata": { "__typename": "AgentsResponseMetadata" } } }
Arguments
id
I D!,non-nullrequired
Return type
Agentexternal 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
Query sample
query agent($id: ID!) {
agent(id: $id) {
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
{ "id": "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
agent Id
I D!,non-nullrequired
limit
Int
skip
Int
before
after
Return type
Agentitems
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 } }
Arguments
filter
limit
Int
before
after
Return type
[Agentowner
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 } ] }
Arguments
filter
limit
Int
before
after
Return type
[Agentenvironment
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 } ] }
Arguments
filter
limit
Int
before
after
Return type
[Agentplatform
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 } ] }
Arguments
filter
limit
Int
before
after
Return type
[Agentaccessibility
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 } ] }
Arguments
filter
limit
Int
before
after
Return type
[Agentdata Source
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 } ] }
Arguments
filter
limit
Int
before
after
Return type
[Agentfinding Type
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 } ] }