Mitigation
# Device Stats
Returns statistics for a specific mitigation device including Blocked Count, Not Blocked Count, Total Count, and Score.
This endpoint works together with GET /v2/mitigation/devices to replace the deprecated V1 endpoint. First retrieve the device list, then use this endpoint to get stats for each device as needed.
Example workflow:**
-
Call GET /v2/mitigation/devices to get the list of devices
-
Call GET /v2/mitigation/devices/{DeviceId} to get stats for a specific device
get/v2/mitigation/devices/{DeviceId}
Request
- Base URLhttps://api.picussecurity.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
DeviceIdinteger required
Device ID (URI parameter)
Response
DeviceStatsByIdSwagger
Changes
No recorded changes to this operation across all 6 revisions of this API.