Microsoft Defender XDR
Hunting and detection

Api Advanced Hunting

In brief

The page now says Advanced hunting examines event data without stating the previous “past 30 days” period. Documentation metadata and date were also updated.

What Defender admins need to know

Administrators should refer to the updated description when assessing Advanced hunting’s documented data scope. No action is specified.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

  • tier3
  • must-keep ms.topic: reference ms.custom: api, msecd-doc-authoring-10151030 ms.date: 2026-08-03T00:10-15T00:00:00.0000000Z ai-usage: ai-assisted locale: en-us document_id: 58e88b5b-18be-39d6-ad39-625a80651631

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.

Advanced hunting is a threat-hunting tool that uses specially constructed queries to examine the past 30 days of event data in Microsoft Defender. You can use advanced hunting queries to inspect unusual activity, detect possible threats, and even respond to attacks. The advanced hunting API allows you to programmatically query event data.

Quotas and resource allocation