---
title: "Client.dataset"
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.

# Client.dataset

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

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

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

```python
def Client.dataset(slug: str) -> Dataset
```

Get a dataset by its slug.

## Parameters

**slug**

type: string

The slug of the dataset

## Returns

A dataset object.

## Errors

**NotFoundError**

type: No such dataset: non.existent.dataset

The specified dataset does not exist.

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

```python
s1_sar = client.dataset(
    "open_data.copernicus.sentinel1_sar"
)
```

Source: https://tilebox.com/docs/api-reference/python/tilebox.datasets/Client.dataset/index.mdx
