Connectors
...
Actions
Get File Statistics
6 min
description retrieve detailed statistics for a specific file in microsoft defender using the file's unique identifier endpoint url /api/files/{{id}}/stats method get inputs path parameters (object) – required id (string) – required output example \[ { "status code" 200, "response headers" { "date" "thu, 04 may 2023 17 42 51 gmt", "content type" "application/json; odata metadata=minimal; odata streaming=true; charset=utf 8", "transfer encoding" "chunked", "connection" "keep alive", "content encoding" "deflate", "vary" "accept encoding", "odata version" "4 0", "strict transport security" "max age=15724800; includesubdomains" }, "reason" "ok", "json body" { "@odata context" "https //api securitycenter microsoft com/api/$metadata#microsoft windowsdefenderatp api inorgfilestats", "sha1" "6532ec91d513acc05f43ee0aa3002599729fd3e1", "orgprevalence" "0", "organizationprevalence" 0, "orgfirstseen" null, "orglastseen" null, "globalprevalence" "10", "globallyprevalence" 10, "globalfirstobserved" "2018 05 07t14 05 18 4401316z", "globallastobserved" "2022 11 15t03 37 49 4593231z", "topfilenames" \[] } } ] output parameters status code (number) reason (string) json body (object) @odata context (string) sha1 (string) orgprevalence (string) organizationprevalence (number) orgfirstseen (object) orglastseen (object) globalprevalence (string) globallyprevalence (number) globalfirstobserved (string) globallastobserved (string) topfilenames (array) file name (string) – required file (string) – required response headers header type date string content type string transfer encoding string connection string content encoding string vary string odata version string strict transport security string