---
title: "Get the metadata of a dataset."
method: GET
path: "/info"
---

# Get the metadata of a dataset.

`GET /info`

Returns the metadata of the dataset: description, homepage, features, etc. Use the optional config parameter to filter the response on a subset.

## Query parameters

- `dataset` string, required
- `config` string

## Response `200`

The metadata of the dataset.

- InfoResponse
  - `dataset_info` object, required — A dump of the DatasetInfo object from the datasets library. See https://huggingface.co/docs/datasets/en/package_reference/main_classes#datasets.DatasetInfo. We don't describe the contents of these metadata for now.
  - `pending` Job[]
    - `dataset` string, required
    - `kind` string, required
    - `config` string, required
    - `split` string, nullable, required
  - `failed` Job[]
    - `dataset` string, required
    - `kind` string, required
    - `config` string, required
    - `split` string, nullable, required
  - `partial` boolean, required — True means that the response has been computed on part of the dataset (typically the first 5GB). False means that the complete dataset was used.

## Other responses

- `401` — If the external authentication step on the Hugging Face Hub failed, and no authentication mechanism has been provided. Retry with authentication.
- `404` — If the repository to download from cannot be found. This may be because it doesn't exist, or because it is set to `private` and you do not have access.
- `422` — The 'dataset' parameter has not been provided or is invalid.
- `500` — The server crashed, the response still hasn't been generated (the process is asynchronous), or the response couldn't be generated successfully due to an error in the dataset itself. The client can retry after a time, in particular in the case of the response still being processed. If the error does not vanish, it's possibly due to a bug in the API software or in the dataset, and should be reported.
- `501` — The server does not implement the feature.

---

[API](https://skmtc.net/huggingface/apis/dataset-viewer-server-api.md) · [All operations](https://skmtc.net/huggingface/apis/dataset-viewer-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/dataset-viewer-server-api/versions/5048b8c0f4f9/schema)
