API ReferenceIncident
incident.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| siteId | string | Yes | — | ID of the associated site |
| systemId | string | No | — | ID of the associated system |
| incidentType | enum(access_event, asset_failure, breach_attempt, system_error, health_check_failed, unauthorized_activity, physical_tampering, connectivity_loss, other) | Yes | — | Incident type |
| priority | enum(low, medium, high, critical) | Yes | "medium" | Priority |
| status | enum(new, investigating, assigned, in_progress, resolved, closed, false_alarm) | Yes | "new" | Status |
| escalationStatus | enum(not_escalated, escalated_to_team, escalated_to_manager, critical_escalation) | Yes | "not_escalated" | Escalation status |
| assignedUserId | string | No | — | ID of the associated assigned user |
| title | string | Yes | — | Title |
| rootCauseSummary | string | No | — | Root cause summary |
| resolutionSummary | string | No | — | Resolution summary |
| linkedTicketId | string | No | — | ID of the associated linked ticket |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | enum(global, workspace_local, shared) | Yes | "workspace_local" | Visibility mode |
Example
{
"siteId": "550e8400-e29b-41d4-a716-446655440000",
"systemId": "550e8400-e29b-41d4-a716-446655440000",
"incidentType": "access_event",
"priority": "low",
"status": "new",
"escalationStatus": "not_escalated",
"title": "Example Title",
"visibilityMode": "global"
}