{ "opencollection": "1.0.0", "info": { "name": "Microsoft Defender for Endpoint Alerts API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Alerts", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Defender List alerts", "type": "http" }, "http": { "method": "GET", "url": "https://api.security.microsoft.com/api/alerts", "params": [ { "name": "$filter", "value": "severity eq 'High' and status eq 'New'", "type": "query", "description": "OData filter expression. Filterable properties include alertCreationTime, lastUpdateTime, incidentId, investigationId, id, assignedTo, detectionSource, lastEventTime, status, severity, and category." }, { "name": "$top", "value": "10", "type": "query", "description": "Maximum number of results to return (max 10,000)." }, { "name": "$skip", "value": "", "type": "query", "description": "Number of results to skip for pagination." }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities. Supports expanding evidence." } ] }, "docs": "Retrieves a collection of alerts. Supports OData V4 query parameters including $filter, $top (max 10,000), $skip, and $expand for evidence. Rate limited to 100 calls per minute and 1,500 calls per hour." }, { "info": { "name": "Microsoft Defender Get alert by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.security.microsoft.com/api/alerts/:alertId", "params": [ { "name": "alertId", "value": "da637472900382838869_1364969609", "type": "path", "description": "The unique identifier of the alert." } ] }, "docs": "Retrieves a specific alert by its alert ID." }, { "info": { "name": "Microsoft Defender Update alert", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.security.microsoft.com/api/alerts/:alertId", "params": [ { "name": "alertId", "value": "da637472900382838869_1364969609", "type": "path", "description": "The unique identifier of the alert to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates properties of an existing alert. Updatable properties are status, determination, classification, and assignedTo. A comment can be submitted with or without updating properties." }, { "info": { "name": "Microsoft Defender List alerts for a machine", "type": "http" }, "http": { "method": "GET", "url": "https://api.security.microsoft.com/api/machines/:machineId/alerts", "params": [ { "name": "machineId", "value": "1e5bc9d7e413ddd7902c2932e418702b84d0cc07", "type": "path", "description": "The device ID of the machine." } ] }, "docs": "Retrieves a collection of alerts related to a specific machine." } ] } ], "bundled": true }