---
title: "List Sessions"
method: GET
path: "/api/computers/{computer_id}/sessions"
tags: ["computers-dashboard"]
---

# List Sessions

`GET /api/computers/{computer_id}/sessions`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/computers/{computer_id}/sessions`
- Auth: HTTP bearer

The computer's recent sessions, newest first, for the dashboard drawer.

## Path parameters

- `computer_id` string, required

## Response `200`

Successful Response

- SessionListOut
  - `sessions` SessionOut[], required
    - `id` string, required
    - `computerId` string, required
    - `startedAt` string, date-time, required
    - `lastActionAt` string, date-time, required
    - `endedAt` string, date-time, nullable
    - `wallSeconds` integer
    - `actions` integer
    - `screenshots` integer
    - `bytesOut` integer
    - `invocationsCharged` integer
    - `endReason` string, nullable
    - `client` string, nullable
    - `modelHint` string, nullable
    - `graceUntil` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

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