Get the finding stats of a company.
Returns the count of active findings grouped by severity (Critical, High, Medium, Low) and status (Failed, Warning, Passed), matching the same data shown by the Findings Heatmap widget in the Black Kite platform. If start_date and end_date are both provided, only findings first discovered within that range are counted; the range can be maximum 365 days apart. If both are omitted, all-time stats are returned. Leaked credential findings are collapsed into a single Failed entry at their highest severity, consistent with the platform UI.
Path parameters
The id of the target company.
Query parameters
The start date for filtering findings by date range (format: date-time). Must be used together with end_date. The date range must not exceed 365 days.
The end date for filtering findings by date range (format: date-time). Must be used together with start_date. The date range must not exceed 365 days.
Response
Success
Example response
{
"Critical_Failed": 3,
"Critical_Warning": 1,
"Critical_Passed": 5,
"High_Failed": 4,
"High_Warning": 2,
"High_Passed": 8,
"Medium_Failed": 6,
"Medium_Warning": 3,
"Medium_Passed": 12,
"Low_Failed": 2,
"Low_Warning": 1,
"Low_Passed": 15
}