---
title: "Get Active Sessions By Application Api"
method: GET
path: "/v1/analytics/active_sessions"
tags: ["analytics"]
---

# Get Active Sessions By Application Api

`GET /v1/analytics/active_sessions`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/analytics/active_sessions`
- Auth: HTTP bearer

## Query parameters

- `time_filter` union: Time period filter (e.g., 'last_30_days' or '2025-10-02,2025-10-30')
  - 'this_month' | 'this_year' | 'last_month' | 'last_30_days' | 'last_6_months' | 'last_12_months'
  - string

## Response `200`

Successful Response

- ApplicationActiveSessionTotals[]
  - `application_id` string, uuid, required
  - `periods` ActiveSessionPeriodTotal[], required
    - `period` string, date-time, required
    - `total_active_sessions` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/branchly/apis/branchly-io-api.md) · [All operations](https://skmtc.dev/branchly/apis/branchly-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/branchly/apis/branchly-io-api/revisions/9ffb024f8ec8?raw)
