---
title: "List all sessions"
method: GET
path: "/user/{userId}/session"
tags: ["session"]
---

# List all sessions

`GET /user/{userId}/session`

## Response `200`

A paged array of sessions

- Session[]
  - `id` string, sessionId, required
  - `user` string, userId
  - `userAgent` string
  - `createdOn` string, date-time
  - `validUntil` string, date-time
  - `secret` string, required — Available via cookie on create

---

[API](https://skmtc.net/watchdogpolska/apis/small-eod.md) · [All operations](https://skmtc.net/watchdogpolska/apis/small-eod/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/watchdogpolska/small-eod/revisions/1c5ac40bf412/schema)
