---
title: "List datasets"
method: GET
path: "/datahub/v1/datasets"
tags: ["DataHub"]
---

# List datasets

`GET /datahub/v1/datasets`

Returns a list of all DataHub datasets for the customer.

## Response `200`

OK - List of datasets returned successfully.

- object
  - `datasets` object[]
    - `name` string — The name of the dataset.
    - `description` string — The description of the dataset.
    - `records` integer — The number of records in the dataset.
    - `updatedBy` string — The email of the user who last updated the dataset.
    - `lastUpdated` string — The timestamp of the last update.

## Other responses

- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - The client is not authorized to perform the request.
- `500` — Internal Server Error - Something went wrong with the DoiT API server.

---

[API](https://skmtc.net/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.net/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/versions/9416402fc119/schema)
