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

# List chat sessions

`GET /v1/sessions`

## Request

- Base URL: `https://api.marketintell.ai`
- URL: `https://api.marketintell.ai/v1/sessions`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

List the calling key's chat sessions, most-recently-active first, with cursor pagination (`next_cursor` in the response is opaque — pass it back as the `cursor` query parameter to fetch the next page). Each entry returns the session id, created_at, last_active_at, and message_count. Sessions are owner-scoped — keys only see their own.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

List of recent chat sessions (cursor-paginated)

- object
  - `success` boolean
  - `data` object
    - `count` integer
    - `sessions` object[]
      - `id` string, uuid
      - `created_at` string, date-time
      - `last_active_at` string, date-time
      - `message_count` integer
    - `next_cursor` string, nullable

---

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