---
title: "GET /v0.1/apps/{owner_name}/{app_name}/analytics/session_counts"
method: GET
path: "/v0.1/apps/{owner_name}/{app_name}/analytics/session_counts"
tags: ["analytics"]
---

# GET /v0.1/apps/{owner_name}/{app_name}/analytics/session_counts

`GET /v0.1/apps/{owner_name}/{app_name}/analytics/session_counts`

## Request

- Base URL: `https://api.appcenter.ms`
- URL: `https://api.appcenter.ms/v0.1/apps/{owner_name}/{app_name}/analytics/session_counts`
- Auth: API key in header `X-API-Token`
- TypeScript: <https://skmtc.dev/appcenter/apis/app-center-client/docs/v0.1/apps/:owner_name/:app_name/analytics/session_counts/get.ts> (a function with typed inputs; its response is checked against the schema)

Count of sessions in the time range.

## Path parameters

- `owner_name` string, required
- `app_name` string, required

## Query parameters

- `start` string, date-time, required
- `end` string, date-time
- `versions` string[]

## Response `200`

Count of sessions in the time range.

- object[]
  - `datetime` string: The ISO 8601 datetime.
  - `count` integer: Count of the object.

## Other responses

- `default`: Error code with reason.

---

[API](https://skmtc.dev/appcenter/apis/app-center-client.md) - [All operations](https://skmtc.dev/appcenter/apis/app-center-client/llms.txt) - [OpenAPI document](https://skmtc.dev/appcenter/apis/app-center-client/revisions/4e9226ab8f35?raw)
