---
title: "List sessions"
method: GET
path: "/session"
---

# List sessions

`GET /session`

Get a list of all VoltCode sessions, sorted by most recently updated.

## Query parameters

- `directory` string
- `roots` boolean
- `start` number
- `search` string
- `limit` number

## Response `200`

List of sessions

- Session[]
  - `id` string, required
  - `slug` string, required
  - `projectID` string, required
  - `directory` string, required
  - `parentID` string
  - `summary` object
    - `additions` number, required
    - `deletions` number, required
    - `files` number, required
    - `diffs` FileDiff[]
      - `file` string, required
      - `before` string, required
      - `after` string, required
      - `additions` number, required
      - `deletions` number, required
  - `share` object
    - `url` string, required
  - `title` string, required
  - `version` string, required
  - `time` object, required
    - `created` number, required
    - `updated` number, required
    - `compacting` number
    - `compactingBlocking` boolean
    - `archived` number
  - `lcm` object
    - `inputTokens` number, required
    - `threshold` number, required
  - `permission` PermissionRule[]
    - `permission` string, required
    - `pattern` string, required
    - `action` 'allow' | 'deny' | 'ask', required
  - `revert` object
    - `messageID` string, required
    - `partID` string
    - `snapshot` string
    - `diff` string

## Changes

- **2026-02-14** `9df3a7d5f839` — 1 warning, 2 info
  - removed the optional property `items/summary/diffs/items/status` from the response with the `200` status
  - added the optional property `items/lcm` to the response with the `200` status
  - added the optional property `items/time/compactingBlocking` to the response with the `200` status
- **2026-02-02** `e5d84d7cf554` — 1 info
  - added the optional property `items/summary/diffs/items/status` to the response with the `200` status
- **2026-01-14** `099a52ba8e1c` — 2 warning
  - removed the optional property `items/lcm` from the response with the `200` status
  - removed the optional property `items/time/compactingBlocking` from the response with the `200` status

[Change history](https://skmtc.dev/martian-engineering/apis/voltcode/changes/session/get.md)

---

[API](https://skmtc.dev/martian-engineering/apis/voltcode.md) · [All operations](https://skmtc.dev/martian-engineering/apis/voltcode/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/martian-engineering/voltcode/revisions/d28625e4a7ea/schema)
