---
title: "List SSH active sessions"
method: POST
path: "/devices/:ssh-active-sessions"
tags: ["Device"]
---

# List SSH active sessions

`POST /devices/:ssh-active-sessions`

List active SSH sessions for devices.

## Request body

- XiqSshActiveSessionsRequest — The request to filter active SSH sessions.
  - `device_ids` integer[] — The device ids

## Response `200`

OK

- XiqSshActiveSessionsResponse[]
  - `device_id` integer — The device ID.
  - `host_name` string — The device name.
  - `serial_number` string — The device serial number.
  - `site_name` string — The site name of device.
  - `start_time` integer — The start time of ssh session.
  - `time_out` integer — The time out for ssh session.
  - `percentage_progress` integer — The percentage ssh session timeout in mins.
  - `session_id` string — The session ID for the active ssh access of device

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
