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

# List Collections

> List the collections your account can access.

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.doctly.ai/api/v1/collections?limit=50 \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

**GET** `/api/v1/collections`

Returns the collections owned by your account (plus any shared public collections).

## Query Parameters

<ParamField query="limit" type="integer" default="100">
  Maximum number of collections to return (1–500).
</ParamField>

<ParamField query="after_id" type="string">
  Cursor: return results after the collection with this ID (taken from the previous page's last item).
</ParamField>

## Response

<ResponseField name="data" type="array">
  Array of [collection objects](/api-reference/collections/create#response).
</ResponseField>

<ResponseField name="has_more" type="boolean">
  Whether more results are available beyond this page.
</ResponseField>

```json Response theme={null}
{
  "data": [
    {
      "id": "8f14e45f-ceea-467f-a34e-cbb17b0dbe1b",
      "name": "Contracts 2026",
      "file_count": 12,
      "total_size": 48210344
    }
  ],
  "has_more": false
}
```
