---
title: "Get identity risk Stats"
method: GET
path: "/identityrisk/stats"
tags: ["Identity Risk"]
---

# Get identity risk Stats

`GET /identityrisk/stats`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/identityrisk/stats`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/identityrisk/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint gets the identity risk Stats (dashboard metrics) for an organization.

**Example request:**
```
GET /api/v2/identityrisk/stats?start_time=2024-01-01T00:00:00Z&end_time=2024-01-31T23:59:59Z
```

## Query parameters

- `startTime` string
- `endTime` string

## Response `200`

A successful response.

- JumpcloudIdentityRiskIdentityRiskStats
  - `adminResolved` JumpcloudIdentityRiskRiskStatCount: RiskStatCount holds the current and previous count values for a risk statistic.
    - `currentCount` integer
    - `previousCount` integer
  - `autoResolvedByMfa` JumpcloudIdentityRiskRiskStatCount: RiskStatCount holds the current and previous count values for a risk statistic.
    - `currentCount` integer
    - `previousCount` integer
  - `criticalRisk` JumpcloudIdentityRiskRiskStatCount: RiskStatCount holds the current and previous count values for a risk statistic.
    - `currentCount` integer
    - `previousCount` integer
  - `mfaFailed` integer
  - `normalIdentities` integer
  - `openDetections` JumpcloudIdentityRiskRiskStatCount: RiskStatCount holds the current and previous count values for a risk statistic.
    - `currentCount` integer
    - `previousCount` integer
  - `overallDetections` JumpcloudIdentityRiskRiskStatCount: RiskStatCount holds the current and previous count values for a risk statistic.
    - `currentCount` integer
    - `previousCount` integer
  - `privilegedIdentities` integer
  - `totalResolved` JumpcloudIdentityRiskRiskStatCount: RiskStatCount holds the current and previous count values for a risk statistic.
    - `currentCount` integer
    - `previousCount` integer

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
