---
title: "List Sessions"
method: GET
path: "/api/v1/chat"
tags: ["Chat"]
---

# List Sessions

`GET /api/v1/chat`

List all chat sessions for the current project.

## Query parameters

- `project_id` string, uuid, nullable
- `organization_id` string, uuid, nullable
- `page_size` integer, nullable
- `page_token` string, nullable

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- SessionList — Paginated list of chat sessions.
  - `items` ChatSessionSummary[], required — Chat sessions for the current page.
    - `session_id` string, required — Unique session identifier.
    - `generated_title` string, nullable — Auto-generated title derived from the first user message.
    - `last_updated_at` string, required — ISO-format timestamp showing when the session was last updated.
    - `job_metadata` JobMetadata
      - `total_input_tokens` integer, nullable
      - `total_output_tokens` integer, nullable
      - `turns` integer
      - `duration_ms` number
      - `is_error` boolean
      - `error` string, nullable
      - `export_config_ids` string[], nullable
    - `index_ids` string[], nullable — Indexes this session is bound to. Null on unbound sessions.
  - `next_page_token` string, nullable — Opaque token to retrieve the next page. Omitted when there are no further pages.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/run-llama/apis/llama-platform.md) · [All operations](https://skmtc.net/run-llama/apis/llama-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/run-llama/llama-platform/revisions/b17341164de9/schema)
