---
title: "List Sessions"
method: GET
path: "/api/chat/sessions"
tags: ["v2", "chat", "chat"]
---

# List Sessions

`GET /api/chat/sessions`

List chat sessions for the authenticated user.

Returns a paginated list of chat sessions belonging to the current user,
with pinned sessions first and most-recently-updated as the tiebreaker.

Args:
    user_id: The authenticated user's ID.
    limit: Maximum number of sessions to return (1-100).
    offset: Number of sessions to skip for pagination.
    expert_id: Restrict the listing to sessions scoped to this expert.

Returns:
    ListSessionsResponse: List of session summaries and total count.

## Query parameters

- `limit` integer
- `offset` integer
- `expert_id` string, nullable

## Response `200`

Successful Response

- ListSessionsResponse — Response model for listing chat sessions.
  - `sessions` SessionSummaryResponse[], required
    - `id` string, required
    - `created_at` string, required
    - `updated_at` string, required
    - `title` string, nullable
    - `chat_status` string
    - `is_processing` boolean, required
    - `source_platform` string, nullable
    - `is_pinned` boolean
    - `expert_id` string, nullable
  - `total` integer, required

## Other responses

- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
