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

# List sessions

`GET /sessions`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/sessions`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Read — Workspace member with read access or higher.

## Response `200`

Success

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `workspace_id` string, uuid
    - `name` string, required
    - `cookies` unknown[], nullable
      - unknown
    - `params` object, nullable
    - `init` string, nullable
    - `uninit` string, nullable
    - `state` integer, required
    - `ts` string, date-time, required
    - `ts_mod` string, date-time, required
  - `total_count` integer, required
  - `count` integer
  - `offset` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

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