Skip to main content
GET
/
1
/
datasets
/
{datasetSlug}
Get a Dataset
curl --request GET \
  --url https://api.honeycomb.io/1/datasets/{datasetSlug}
{
  "name": "My Dataset!",
  "description": "A nice description of my dataset",
  "settings": {
    "delete_protected": true
  },
  "expand_json_depth": 3,
  "slug": "my-dataset-",
  "regular_columns_count": 100,
  "last_written_at": "2022-07-21T18:39:23Z",
  "created_at": "2022-09-22T17:32:11Z"
}

Path Parameters

datasetSlug
string
required

The dataset slug.

Response

Success

Datasets are a collection of events from a specific source or related source.

name
string
required

The name of the dataset.

Required string length: 1 - 255
Example:

"My Dataset!"

description
string
default:""

A description for the dataset.

Maximum string length: 1024
Example:

"A nice description of my dataset"

settings
object
expand_json_depth
integer
default:0

The maximum unpacking depth of nested JSON fields.

Required range: 0 <= x <= 10
Example:

3

slug
string

The 'slug' of the dataset to be used in URLs.

Example:

"my-dataset-"

regular_columns_count
null | integer

The total number of unique fields for this Dataset. The value will be null if the dataset does not contain any fields yet.

Example:

100

last_written_at
null | string

The ISO8601-formatted time when the dataset last received event data. The value will be null if no data has been received yet.

Example:

"2022-07-21T18:39:23Z"

created_at
string

The ISO8601-formatted time when the dataset was created.

Example:

"2022-09-22T17:32:11Z"