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

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

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

## Request

- Base URL: `https://api.appcenter.ms`
- URL: `https://api.appcenter.ms/v0.1/apps/{owner_name}/{app_name}/analytics/versions`
- 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/versions/get.ts> (a function with typed inputs; its response is checked against the schema)

Count of active versions in the time range ordered by version.

## Path parameters

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

## Query parameters

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

## Response `200`

Count of active versions in the time range ordered by version.

- object
  - `versions` object[]: List of version count.
    - `version` string: Version.
    - `count` integer: Version count.
    - `previous_count` integer: The count of previous time range of the version.
  - `total` integer: The total count of versions.

## 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)
