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

# Client.Collections.List

```go theme={"system"}
func (collectionClient) List(
    ctx context.Context,
    datasetID uuid.UUID,
) ([]*datasets.Collection, error)
```

List the available collections in a dataset.

## Parameters

<ParamField path="datasetID" type="uuid.UUID">
  The id of the dataset
</ParamField>

## Returns

A list of collection objects.

<RequestExample>
  ```go Go theme={"system"}
  collections, err := client.Collections.List(ctx,
      datasetID,
  )
  ```
</RequestExample>

## Errors

<ParamField path="not_found" type="No such dataset">
  The specified dataset does not exist.
</ParamField>
