---
title: "List shared chats"
method: GET
path: "/shared_chats"
tags: ["Shared Chats"]
---

# List shared chats

`GET /shared_chats`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/shared_chats`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/shared_chats/get.ts> (a function with typed inputs; its response is checked against the schema)

List shared chats created by the current user.

## Query parameters

- `offset` integer
- `limit` integer
- `name_filter` string
- `filter_type` string
- `showcase_filter` string

## Response `200`

Successful operation

- SharedChatInfo[]
  - `id` string, required: Unique identifier of the shared chat.
  - `name` string: Name of the shared chat.
  - `chat_session_id` string: ID of the source chat session.
  - `is_private` boolean, required: Whether the shared chat requires authentication.
  - `is_frozen` boolean, required: Whether the shared chat is a frozen snapshot.
  - `includes_artifacts` boolean, required: Whether file artifacts are included.
  - `created_at` string, date-time, required: When the shared chat was created.
  - `showcase_id` string: When set, this shared chat is currently featured on the public Showcase page; this is the id of the matching showcase entry.

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
