---
title: "Get connections details"
method: GET
path: "/connections"
tags: ["connections"]
---

# Get connections details

`GET /connections`

Returns the active users and info about their current uploads/downloads

## Response `200`

successful operation

- ConnectionStatus[]
  - `username` string — connected username
  - `connection_id` string — unique connection identifier
  - `client_version` string — client version
  - `remote_address` string — Remote address for the connected client
  - `connection_time` integer — connection time as unix timestamp in milliseconds
  - `command` string — Last SSH/FTP command or WebDAV method
  - `last_activity` integer — last client activity as unix timestamp in milliseconds
  - `protocol` 'SFTP' | 'SCP' | 'SSH' | 'FTP' | 'DAV'
  - `active_transfers` Transfer[]
    - `operation_type` 'upload' | 'download' — Operations: * `upload` * `download`
    - `path` string — file path for the upload/download
    - `start_time` integer — start time as unix timestamp in milliseconds
    - `size` integer — bytes transferred
  - `node` string — Node identifier, omitted for single node installations

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `default` — Unexpected Error

---

[API](https://skmtc.net/kanton-bern/apis/sftpgo.md) · [All operations](https://skmtc.net/kanton-bern/apis/sftpgo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kanton-bern/sftpgo/revisions/d8d616a479b0/schema)
