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

# List Chats

> Get a paginated list of chats for your team

Get a paginated list of chats for your team.

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token with your Deeptrace API key. Format: `Bearer <your_api_key>`.
</ParamField>

## Query Parameters

<ParamField query="page" type="integer" default="1">
  Page number (1-based).
</ParamField>

<ParamField query="count" type="integer" default="20">
  Items per page (max 100).
</ParamField>

<ParamField query="my_chats" type="boolean" default="false">
  Filter to only your chats.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.deeptrace.com/api/chat?page=1&count=10" \
    -H "Authorization: Bearer <your_api_key>"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.deeptrace.com/api/chat",
      headers={"Authorization": "Bearer <your_api_key>"},
      params={"page": 1, "count": 10}
  )

  data = response.json()
  print(data)
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    "https://api.deeptrace.com/api/chat?page=1&count=10",
    {
      headers: { "Authorization": "Bearer <your_api_key>" },
    }
  );

  const data = await response.json();
  console.log(data);
  ```
</RequestExample>
