Governance
Incidents

Incidents

The incident system records security events, policy violations, and anomalous behavior for investigation and resolution.

Severity Levels

SeverityDescriptionExample
CriticalImmediate action requiredPrompt injection detected, unauthorized fund movement
HighRapid investigation neededSpending limit breach, blocked counterparty attempt
MediumReview within business dayIntent deviation from mandate, unusual token swap
LowInformationalSession approaching expiry, high-volume activity

Incident Record

Each incident contains:

FieldDescription
severityCritical, High, Medium, or Low
titleSummary of the incident
descriptionDetailed description
affectedEntityType of entity affected (agent, session, app)
affectedEntityIdID of the affected entity
sessionKeyHashSession involved
traceHashRelated execution trace
policyIdPolicy that detected the violation
statusOpen, Investigating, Resolved, Dismissed

Incident Lifecycle

  1. Open — Incident detected and recorded
  2. Investigating — Operator has begun review
  3. Resolved — Root cause identified and addressed
  4. Dismissed — False positive or non-actionable

API

List Incidents

GET /apps/{appId}/incidents?severity=critical&status=open
Authorization: Bearer {apiKey}

Create Incident

POST /apps/{appId}/incidents
Authorization: Bearer {apiKey}
Content-Type: application/json
 
{
  "severity": "high",
  "title": "Spending limit exceeded by agent-001",
  "description": "Agent attempted transfer of $2,500 USDC, exceeding daily limit of $1,000",
  "affectedEntity": "agent",
  "affectedEntityId": "agt_abc123",
  "sessionKeyHash": "0x...",
  "policyId": "spending_limits"
}

Update Status

PATCH /apps/{appId}/incidents/{incidentId}
Authorization: Bearer {apiKey}
Content-Type: application/json
 
{
  "status": "resolved",
  "resolvedBy": "security@company.com"
}