Microsoft 365 Defender incidents API and the incidents resource type
Want to experience Microsoft 365 Defender? Learn more about how you can evaluate and pilot Microsoft 365 Defender.
Try our new APIs using MS Graph security API. Find out more at: Use the Microsoft Graph security API - Microsoft Graph | Microsoft Learn.
Some information relates to prereleased product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An incident is a collection of related alerts that help describe an attack. Events from different entities in your organization are automatically aggregated by Microsoft 365 Defender. You can use the incidents API to programatically access your organization's incidents and related alerts.
Quotas and resource allocation
You can request up to 50 calls per minute or 1500 calls per hour. Each method also has its own quotas. For more information on method-specific quotas, see the respective article for the method you want to use.
429 HTTP response code indicates that you've reached a quota, either by number of requests sent, or by allotted running time. The response body will include the time until the quota you reached will be reset.
The incidents API requires different kinds of permissions for each of its methods. For more information about required permissions, see the respective method's article.
|List incidents||Incident list||Get a list of incidents.|
|Update incident||Incident||Update a specific incident.|
|Get incident||Incident||Get a single incident.|
Request body, response, and examples
Refer to the respective method articles for more details on how to construct a request or parse a response, and for practical examples.
|incidentId||long||Incident unique ID.|
|redirectIncidentId||nullable long||The Incident ID the current Incident was merged to.|
|incidentName||string||The name of the Incident.|
|createdTime||DateTimeOffset||The date and time (in UTC) the Incident was created.|
|lastUpdateTime||DateTimeOffset||The date and time (in UTC) the Incident was last updated.|
|assignedTo||string||Owner of the Incident.|
|severity||Enum||Severity of the Incident. Possible values are:
|status||Enum||Specifies the current status of the incident. Possible values are:
|classification||Enum||Specification of the incident. Possible values are:
|determination||Enum||Specifies the determination of the incident.
Possible determination values for each classification are:
|tags||string list||List of Incident tags.|
|comments||List of incident comments||Incident Comment object contains: comment string, createdBy string, and createTime date time.|
|alerts||alert list||List of related alerts. See examples at List incidents API documentation.|
Around August 29, 2022, previously supported alert determination values ('Apt' and 'SecurityPersonnel') will be deprecated and no longer available via the API.
Submit and view feedback for