---
title: "Peers known in the current session"
method: GET
path: "/peers"
tags: ["session"]
---

# Peers known in the current session

`GET /peers`

## Request

- Base URL: `http://127.0.0.1:3822`
- URL: `http://127.0.0.1:3822/peers`
- Auth: none required

## Response `200`

This daemon's session connection (empty when there is no session)

- object[]
  - `sessionId` string
  - `userId` string, nullable
  - `role` string
  - `connectionState` 'CONNECTING' | 'OPEN' | 'CLOSING' | 'CLOSED'
  - `transport` string
  - `isConnected` boolean

---

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