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

# List Collections

Retrieve all collections created by the authenticated user.

## Query Parameters

<ParamField query="status" type="string">
  Filter by status: `pending`, `running`, `completed`, `failed`
</ParamField>

<ParamField query="search" type="string">
  Search collections by name or description
</ParamField>

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.artaios.ai/api/v1/collections/?status=completed" \
    -H "x-api-key: YOUR_API_KEY"
  ```

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

  response = requests.get(
      "https://api.artaios.ai/api/v1/collections/",
      headers={"x-api-key": "YOUR_API_KEY"},
      params={"status": "completed"}
  )
  collections = response.json()
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.artaios.ai/api/v1/collections/?status=completed', {
    headers: {
      'x-api-key': 'YOUR_API_KEY'
    }
  });
  const collections = await response.json();
  ```
</CodeGroup>

## Response

```json theme={null}
[
  {
    "id": "coll_123",
    "name": "Product Documentation",
    "description": "All product manuals and guides",
    "status": "completed",
    "progress": 100,
    "data_source_count": 15,
    "total_size": 52428800,
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-01-15T10:35:00Z"
  }
]
```
