# Collections.List

```go
func (collectionClient) List(
    ctx context.Context,
    datasetID uuid.UUID,
) ([]*datasets.Collection, error)
```

List the available collections in a dataset.

## Parameters

**datasetID**

`uuid.UUID`

The id of the dataset

## Returns

A list of collection objects.

```go title="Go"
collections, err := client.Collections.List(ctx,
    datasetID,
)
```

## Errors

**not\_found**

`No such dataset`

The specified dataset does not exist.
