---
title: "Datasets.Get"
description: "Get a dataset by its slug."
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.

# Datasets.Get

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

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

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

```go
func (datasetClient) Get(
    ctx context.Context,
    slug string,
) (*datasets.Dataset, error)
```

Get a dataset by its slug.

## Parameters

**slug**

type: string

The slug of the dataset

## Returns

A dataset object.

## Errors

**not_found**

type: No such dataset

The specified dataset does not exist.

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

```go
s1_sar, err := client.Datasets.Get(ctx,
    "open_data.copernicus.sentinel1_sar"
)
```

Source: https://tilebox.com/docs/api-reference/go/datasets/Get/index.mdx
