---
title: "Dataset.collections"
description: "List the available collections in a dataset."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

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

# Dataset.collections

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

import ParamField from "@docs/components/ParamField.astro";

```python
def Dataset.collections(
    availability: bool | None = None,
    count: bool | None = None,
) -> dict[str, Collection]
```

List the available collections in a dataset.

Collection availability and datapoint counts are always returned. The `availability` and `count` arguments are deprecated and no longer affect the response.

## Parameters

**availability**

type: bool | None

Deprecated. Collection availability is always returned.

**count**

type: bool | None

Deprecated. Collection datapoint counts are always returned.

## Returns

A dictionary mapping collection names to collection objects.

<h2 id="request-example">Usage example</h2>

```python
collections = dataset.collections()
```

Source: https://tilebox.com/docs/api-reference/python/tilebox.datasets/Dataset.collections/index.mdx
