---
title: "Get all active backend sessions for the current user"
method: GET
path: "/open-tabs/active-sessions"
tags: ["Open Tabs"]
---

# Get all active backend sessions for the current user

`GET /open-tabs/active-sessions`

Returns live terminal sessions from the session manager, both sessions the caller owns and SSH sessions shared to the caller by another user (via an in-app session share). Used by the Active Connections panel and tab restore logic.

## Response `200`

List of active sessions (own and shared-with-me).

- object[]
  - `sessionId` string
  - `hostId` integer
  - `hostName` string
  - `tabInstanceId` string
  - `isConnected` boolean
  - `createdAt` number
  - `isOwnSession` boolean
  - `sharedByUsername` string, nullable
  - `permissionLevel` string, nullable
  - `shareId` string, nullable

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
