> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/data-model/entities/incidents/incident.md).

# Incident

Operational incidents synced from incident management tools (PagerDuty or incident.io).

{% hint style="info" %}
[**Beta**](https://help.swarmia.com/data-model/entities/stability-levels/beta.md) — This resource is in early access, and some definitions may still change.
{% endhint %}

Operational incidents synced from incident management tools (PagerDuty or incident.io).

## Properties

### Acknowledged at

`acknowledgedAt` - [timestamp](https://help.swarmia.com/data-model/types/timestamp.md) | null

First time a responder acknowledged the incident. Empty if never acknowledged or the integration does not supply it.

### Alerts

`alertCount` - [int](https://help.swarmia.com/data-model/types/int.md) | null

Number of alerts grouped into the incident. Empty when the integration does not supply it.

### Data source

`dataSource` - [IncidentDataSource](https://help.swarmia.com/data-model/types/enum/incidentdatasource.md)

Incident management tool the incident comes from (PagerDuty or incident.io).

### Deduplication key

`sourceKey` - [text](https://help.swarmia.com/data-model/types/text.md) | null

Key the incident management tool uses to group repeated alerts into one incident. Empty when none was set or the integration does not supply it.

### Description

`description` - [text](https://help.swarmia.com/data-model/types/text.md) | null

Full incident details from the incident management tool. Empty when the integration does not supply it.

### ID

`id` - [uuid](https://help.swarmia.com/data-model/types/uuid.md)

Swarmia ID of the incident.

### Incident type

`incidentType` - [text](https://help.swarmia.com/data-model/types/text.md) | null

Category configured in the incident management tool (such as Security incident, Major incident, etc.).

### Last status change at

`lastStatusChangeAt` - [timestamp](https://help.swarmia.com/data-model/types/timestamp.md) | null

Most recent time the incident moved to a new status. Empty when the integration does not supply it.

### Last updated at

`sourceUpdatedAt` - [timestamp](https://help.swarmia.com/data-model/types/timestamp.md) | null

Most recent change to the incident in the incident management tool.

### Number

`sourceNumber` - [int](https://help.swarmia.com/data-model/types/int.md) | null

Sequential incident number shown in the incident management tool. Empty when the integration does not supply it.

### Priority

`priority` - [text](https://help.swarmia.com/data-model/types/text.md) | null

Priority level configured in the incident management tool (such as P1, P2, etc.). Empty when unset or the integration does not supply it.

### Resolved alerts

`resolvedAlertCount` - [int](https://help.swarmia.com/data-model/types/int.md) | null

Alerts on the incident that have stopped firing. Empty when the integration does not supply this count.

### Resolved at

`resolvedAt` - [timestamp](https://help.swarmia.com/data-model/types/timestamp.md) | null

Time the incident was resolved. Empty while open or when the integration does not supply it; check Status for the current state.

### Source ID

`sourceId` - [text](https://help.swarmia.com/data-model/types/text.md)

Incident ID in the incident management tool, as used in its URLs and API.

### Source status

`sourceStatus` - [text](https://help.swarmia.com/data-model/types/text.md)

Status exactly as the incident management tool reports it, such as triggered in PagerDuty or Investigating in incident.io.

### Source URL

`sourceUrl` - [url](https://help.swarmia.com/data-model/types/url.md)

Link to the incident in the incident management tool.

### Status

`status` - [IncidentStatus](https://help.swarmia.com/data-model/types/enum/incidentstatus.md)

Current state of the incident (such as Open, Resolved, etc.).

### Summary

`summary` - [text](https://help.swarmia.com/data-model/types/text.md) | null

Short summary of what happened, when the tool provides one.

### Timestamp

`timestamp` - [timestamp](https://help.swarmia.com/data-model/types/timestamp.md)

Time the incident was opened in the incident management tool.

### Title

`title` - [text](https://help.swarmia.com/data-model/types/text.md)

Headline of the incident as written by the responder or alert.

### Triggered alerts

`triggeredAlertCount` - [int](https://help.swarmia.com/data-model/types/int.md) | null

Alerts on the incident that are still firing. Empty when the integration does not supply this count.

### Urgency

`urgency` - [IncidentUrgency](https://help.swarmia.com/data-model/types/enum/incidenturgency.md)

How urgently the incident needed a response (such as High, Low, etc.). Unknown when the integration does not supply it.

## Relations

### Incident source

`installation` - [Incident source](https://help.swarmia.com/data-model/entities/incidents/incident-source-installation.md) (one)

Connected incident management account that supplied the incident.

### Services

`services` - [Incident service](https://help.swarmia.com/data-model/entities/incidents/incident-service.md) (many)

Services affected by the incident.

{% hint style="info" %}
This page is automatically generated
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.swarmia.com/data-model/entities/incidents/incident.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
