Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Objects

Overview

AuditEvent

id
ID!,non-null
type
timestamp
DateTime!,non-null
message
String
toolType
String
Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "ToolCall", "timestamp": "Example Custom Scalar", "message": "Example String", "toolType": "Example String" }
Referenced in

Session

type
ActivityType!,non-null
timestamp
DateTime!,non-null
agent
Agent!,non-null
message
String
sessionId
ID!,non-null
detections
[Detection!]!,non-null

Detections that were created as part of the session

violations

Violations that were created as part of the session.

Sample
{ "type": "SESSION", "timestamp": "Example Custom Scalar", "agent": { "__typename": "Agent" }, "message": "Example String", "sessionId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "detections": [ { "__typename": "Detection" } ], "violations": [ { "__typename": "ViolationPreview" } ] }
Referenced in

FindingIndicator

id
ID!,non-null
type
title
String!,non-null
timestamp
DateTime!,non-null
agent
AgentPreview!,non-null
findingType
FindingType!,non-null
Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "FINDING", "title": "Example String", "timestamp": "Example Custom Scalar", "agent": { "__typename": "AgentPreview" }, "findingType": "INSTRUCTIONS_NOT_CLEAR" }

DetectionIndicator

id
ID!,non-null
type
title
String!,non-null
timestamp
DateTime!,non-null
agent
AgentPreview!,non-null
detectionType
Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "FINDING", "title": "Example String", "timestamp": "Example Custom Scalar", "agent": { "__typename": "AgentPreview" }, "detectionType": "PII_LEAKAGE" }

ViolationIndicator

id
ID!,non-null
type
issue
agent
AgentPreview!,non-null
Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "type": "FINDING", "issue": { "__typename": "ViolationPreview" }, "agent": { "__typename": "AgentPreview" } }

TimelineQueryMetadata

timeRange
binCount
Int!,non-null
binWidthMs
Float!,non-null
timezone
String!,non-null

Timezone used for timestamp calculations and binning

actualTimeRange

Actual time range covered (may be slightly different due to rounding)

Sample
{ "timeRange": { "__typename": "DateTimeFilterOutput" }, "binCount": 40, "binWidthMs": 40, "timezone": "Example String", "actualTimeRange": { "__typename": "DateTimeFilterOutput" } }

ActivitiesTimelineBin

timestamp
DateTime!,non-null
key
String!,non-null
count
Int!,non-null
indicators
timeRange
Sample
{ "timestamp": "Example Custom Scalar", "key": "Example String", "count": 40, "indicators": [ { "__typename": "FindingIndicator" } ], "timeRange": { "__typename": "DateTimeFilterOutput" } }

BinRange

Range of bin indices for a cluster

start
Int!,non-null

Starting bin index (0-based)

end
Int!,non-null

Ending bin index (inclusive)

span
Int!,non-null

Number of bins spanned (end - start + 1)

Sample
{ "start": 40, "end": 40, "span": 40 }

TimeRange

Date-time range for a cluster

start
DateTime!,non-null
end
DateTime!,non-null
Sample
{ "start": "Example Custom Scalar", "end": "Example Custom Scalar" }
Referenced in

FindingTypeAggregation

Aggregated finding type data with preview information Limited to top 5 by count, includes total count across all types

findingType
FindingType!,non-null

Finding type

count
Int!,non-null

Count of this finding type

Sample
{ "findingType": "INSTRUCTIONS_NOT_CLEAR", "count": 40 }

AgentAggregation

Aggregated agent data with preview information Limited to top 5 by count, includes total count across all agents

agentId
ID!,non-null

Agent ID

agentName
String!,non-null

Agent name

platformType
PlatformType!,non-null

Platform type for avatar display

count
Int!,non-null

Count of indicators for this agent

Sample
{ "agentId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "agentName": "Example String", "platformType": "POWERPLATFORM", "count": 40 }
Referenced in

Interfaces

Overview

Unions

Overview

Enums

Overview

Inputs

Overview

Scalars

Overview