---
title: "GET /v1/customers/{customersId}/reports:countActiveDevices"
method: GET
path: "/v1/customers/{customersId}/reports:countActiveDevices"
tags: ["customers"]
---

# GET /v1/customers/{customersId}/reports:countActiveDevices

`GET /v1/customers/{customersId}/reports:countActiveDevices`

## Request

- Base URL: `https://chromemanagement.googleapis.com`
- URL: `https://chromemanagement.googleapis.com/v1/customers/{customersId}/reports:countActiveDevices`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/chrome.management.reports.readonly`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/chrome.management.reports.readonly`

Get a count of active devices per set time frames.

## Path parameters

- `customersId` string, required

## Query parameters

- `date.day` integer
- `date.month` integer
- `date.year` integer

## Response `200`

Successful response

- GoogleChromeManagementV1CountActiveDevicesResponse: Response containing the number of active devices.
  - `sevenDaysCount` string, int64: Number of active devices in the 7 days leading up to the date specified in the request.
  - `thirtyDaysCount` string, int64: Number of active devices in the 30 days leading up to the date specified in the request.

---

[API](https://skmtc.dev/google/apis/chromemanagement.md) - [All operations](https://skmtc.dev/google/apis/chromemanagement/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/chromemanagement/revisions/872a15abbbd0?raw)
