API Reference
/- usageRange
agents
agent
agentAudit
topAgentCountByOwner
topAgentCountByEnvironment
topAgentCountByPlatform
topAgentCountByAccessibility
topAgentCountByDataSource
topAgentCountByFindingType
auditTimeline
listEnvironments
listOwners
listPlatforms
listTools
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
usageRange
Download GraphQL schema
Arguments
filter
before
after
Return type
[Auditkey
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 } ] }
Return type
[Environment!]!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" } ] }
Return type
[Ownername
String!,non-null
email
I D!,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 } ] }
Return type
[PlatformQuery sample
query listPlatforms {
listPlatforms {
type
name
count
}
}Response sample
{ "data": [ { "type": "POWERPLATFORM", "name": "Example String", "count": 40 } ] }
Return type
[Toolid
I D!,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 } ] }
Return type
Usagemin
Int!,non-null
max
Int!,non-null
Query sample
query usageRange {
usageRange {
min
max
}
}Response sample
{ "data": { "min": 40, "max": 40 } }
Return type
DateQuery sample
query lastSessionRange {
lastSessionRange {
min
max
}
}Response sample
{ "data": { "min": "Example Custom Scalar", "max": "Example Custom Scalar" } }
Return type
Integrationstenant Id
String!,non-null
items
Query sample
query integrations {
integrations {
tenantId
items {
__typename
# ...IntegrationFragment
}
}
}Response sample
{ "data": { "tenantId": "Example String", "items": [ { "__typename": "Integration" } ] } }
Arguments
platform Type
Return type
Integration!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" } }
Return type
[Foundationalvalue
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 } ] }
Arguments
filter
order By
limit
Int
offset
Int
Return type
Toolsitems
total
Int!,non-null
Query sample
query tools(
$filter: ToolFilterInput
$orderBy: [ToolOrderByInput!]
$limit: Int
$offset: Int
) {
tools(
filter: $filter
orderBy: $orderBy
limit: $limit
offset: $offset
) {
items {
__typename
# ...InventoryToolListItemFragment
}
total
}
}Variables
{ "filter": { "id": { "__typename": "StringFilter" }, "search": "Example String", "type": { "__typename": "StringFilter" }, "enabled": { "__typename": "BooleanFilter" }, "environment": { "__typename": "EnvironmentFilter" }, "findings": { "__typename": "FindingFilter" }, "agent": { "__typename": "AgentFilter" } }, "orderBy": [ { "field": "NAME", "direction": "ASC" } ], "limit": 40, "offset": 40 }
Response sample
{ "data": { "items": [ { "__typename": "InventoryToolListItem" } ], "total": 40 } }