---
title: "List Sessions"
method: GET
path: "/api/sessions"
tags: ["user"]
---

# List Sessions

`GET /api/sessions`

## Request

- Base URL: `https://api.git.mari.zip` (the document declares no server; this is the origin it was published from)
- URL: `https://api.git.mari.zip/api/sessions`
- Auth: API key in cookie `gitarena-session`
- TypeScript: <https://skmtc.dev/mari/apis/gitarena/docs/api/sessions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

List of active sessions

- SessionResponse[]
  - `city` string, nullable
  - `country` string, nullable
  - `hash` string, required
  - `ipAddress` string, required
  - `isCurrent` boolean, required
  - `updatedAt` string, date-time, required
  - `userAgent` string, required

## Other responses

- `401`: Authentication required

## Changes

- **2026-10-29** `efaeb85ac1be`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mari/apis/gitarena/changes/api/sessions/get.md)

---

[API](https://skmtc.dev/mari/apis/gitarena.md) - [All operations](https://skmtc.dev/mari/apis/gitarena/llms.txt) - [OpenAPI document](https://skmtc.dev/mari/apis/gitarena/revisions/437eec085d26?raw)
