# Collections.Get

```go
func (collectionClient) Get(
    ctx context.Context,
    datasetID uuid.UUID,
    name string,
) (*datasets.Collection, error)
```

Get a collection by name from a dataset.

## Parameters

**datasetID**

`uuid.UUID`

The id of the dataset

**name**

`string`

The name of the collection

## Returns

A collection object.

```go title="Go"
collection, err := client.Collections.Get(ctx,
    datasetID,
    "My-collection",
)
```

## Errors

**not\_found**

`No such dataset`

The specified dataset does not exist.
