> ## Documentation Index
> Fetch the complete documentation index at: https://morphik.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# list_chat_conversations

> List recent chat conversations for the authenticated user

<Tabs>
  <Tab title="Sync">
    ```python theme={null}
    def list_chat_conversations(limit: int = 100) -> List[Dict[str, Any]]
    ```
  </Tab>

  <Tab title="Async">
    ```python theme={null}
    async def list_chat_conversations(limit: int = 100) -> List[Dict[str, Any]]
    ```
  </Tab>
</Tabs>

## Parameters

* `limit` (int, optional): Maximum number of conversations to return. Valid range is 1-500. Default is 100.

## Returns

* `List[Dict[str, Any]]`: Each dictionary contains:
  * `chat_id` – conversation identifier
  * `updated_at` – last activity timestamp
  * `message_preview` – snippet of the last user/assistant message

## Example

<Tabs>
  <Tab title="Sync">
    ```python theme={null}
    db = Morphik()
    convos = db.list_chat_conversations(limit=20)
    for convo in convos:
        print(convo["chat_id"], convo["updated_at"])
    ```
  </Tab>

  <Tab title="Async">
    ```python theme={null}
    async with AsyncMorphik() as db:
        convos = await db.list_chat_conversations()
        print(f"You have {len(convos)} conversations")
    ```
  </Tab>
</Tabs>
