How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Microsoft Defender Machines API

Manage devices (machines) that have communicated with Microsoft Defender for Endpoint. Retrieve device information, health status, risk scores, and exposure levels.

Microsoft Defender Machines API is one of 9 APIs that Microsoft Defender publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Machines. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, authentication docs, pricing, an API reference, and 1 JSON Schema.

This API exposes 5 operations across 5 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 5 base URLs: https://api.security.microsoft.com/api, https://us.api.security.microsoft.com/api, https://eu.api.security.microsoft.com/api, https://uk.api.security.microsoft.com/api, https://au.api.security.microsoft.com/api.

5 operations 5 paths 8 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Servers
https://api.security.microsoft.com/api
https://us.api.security.microsoft.com/api
https://eu.api.security.microsoft.com/api
https://uk.api.security.microsoft.com/api
https://au.api.security.microsoft.com/api
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Microsoft Defender Machines API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the clientCredentials and authorizationCode flows, exposing 1 scope. By default, every request must be authenticated.

  • oauth2 — OAuth 2.0 authentication using Microsoft Entra ID (Azure AD). Supports both application-level and delegated permissions.

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 GET. Each is listed below with its method, path, parameters, and response codes.

Machines 5

Manage devices (machines) that have communicated with Microsoft Defender for Endpoint. Retrieve device information, health status, risk scores, and exposure levels.

GET
/machines
Microsoft Defender List machines
listMachines 3 params → 200401403404429
GET
/machines/{machineId}
Microsoft Defender Get machine by ID
getMachine 1 param → 200401403404
GET
/machines/{machineId}/alerts
Microsoft Defender List alerts for a machine
listMachineAlerts 1 param → 200401403404
GET
/machines/{machineId}/vulnerabilities
Microsoft Defender List vulnerabilities for a machine
listMachineVulnerabilities 1 param → 200401403404
GET
/vulnerabilities/{vulnerabilityId}/machineReferences
Microsoft Defender List machines affected by a vulnerability
listVulnerabilityMachineReferences 1 param → 200401403404

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are Alert (29 properties), AlertEvidence (25 properties), Machine (21 properties), Vulnerability (17 properties). Each schema is shown below with its type and property counts.

Machine
object
Represents a device (machine) that has communicated with Microsoft Defender for Endpoint, including its health status, risk assessment, and configuration detai…
21 properties
IpAddress
object
An IP address associated with a machine.
4 properties
Alert
object
Represents a security alert generated by Microsoft Defender for Endpoint, indicating a detected threat, suspicious activity, or security event on an endpoint.
29 properties
MachineReference
object
A reference to a machine affected by a vulnerability.
4 properties
RelatedUser
object
Details of a user related to an alert.
2 properties
AlertEvidence
object
Evidence associated with an alert. Can represent various entity types including User, Process, File, IP address, and URL.
25 properties
AlertComment
object
A comment associated with an alert.
3 properties
Vulnerability
object
Represents a known vulnerability (CVE) detected by Microsoft Defender Vulnerability Management, including severity, CVSS scoring, exploit information, and expo…
17 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

microsoft-defender-machines-api-openapi.yml Raw ↑

Other APIs Microsoft Defender publishes across the network.

Microsoft Defender for Cloud Apps API
Microsoft Defender Threat Intelligence API
Microsoft Defender for Office 365 API
Microsoft Defender XDR API
Microsoft Defender for Cloud REST API
Microsoft Defender for Identity API
Microsoft Defender Alerts API
Microsoft Defender Vulnerabilities API
Where this information came from

This is an independent, third-party profile of Microsoft Defender Machines API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.