> ## 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.Get

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

Get a dataset by its slug.

## Parameters

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

<ParamField path="name" type="string">
  The name of the collection
</ParamField>

## Returns

The created collection object.

<RequestExample>
  ```go Go theme={"system"}
  collection, err := client.Collections.Get(ctx,
      datasetID,
      "My-collection",
  )
  ```
</RequestExample>

## Errors

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