---
title: "Get a Dataset"
method: GET
path: "/1/datasets/{datasetSlug}"
tags: ["Datasets"]
---

# Get a Dataset

`GET /1/datasets/{datasetSlug}`

Get a single Dataset by slug.

## Response `200`

Success

- Dataset — Datasets are a collection of events from a specific source or related source.
  - `name` string, required — The name of the dataset.
  - `description` string — A description for the dataset.
  - `settings` object
    - `delete_protected` boolean — If true, the dataset cannot be deleted.
  - `expand_json_depth` integer — The maximum unpacking depth of nested JSON fields.
  - `slug` string — The 'slug' of the dataset to be used in URLs.
  - `regular_columns_count` integer, nullable — The total number of unique fields for this Dataset. The value will be null if the dataset does not contain any fields yet.
  - `last_written_at` string, nullable — The ISO8601-formatted time when the dataset last received event data. The value will be null if no data has been received yet.
  - `created_at` string — The ISO8601-formatted time when the dataset was created.
  - `dataset_type` 'metrics' — The type of data contained in the dataset. Only present for time-series metrics datasets.

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `429` — Rate Limit Exceeded
- `default` — Error

---

[API](https://skmtc.net/honeycomb/apis/honeycomb-api.md) · [All operations](https://skmtc.net/honeycomb/apis/honeycomb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/honeycomb/honeycomb-api/revisions/117619fac2a5/schema)
