---
title: "Get Active Sessions By Embed Api"
method: GET
path: "/v1/analytics/active-sessions-by-embed/{application_id}"
tags: ["analytics"]
---

# Get Active Sessions By Embed Api

`GET /v1/analytics/active-sessions-by-embed/{application_id}`

## 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-by-embed/{application_id}`
- Auth: HTTP bearer

## Path parameters

- `application_id` string, uuid, required

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

- PeriodEmbedTypeSessionMetrics[]
  - `period` string, date-time, required
  - `total_active_sessions` integer
  - `chat_sessions` integer
  - `chat_widget_sessions` integer
  - `navigator_sessions` integer
  - `search_interface_sessions` integer
  - `voice_sessions` integer
  - `api_sessions` integer
  - `form_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)
