---
title: "Get some basic info on a dataset"
method: GET
path: "/datasets/{dataset-id}"
tags: ["datasets"]
---

# Get some basic info on a dataset

`GET /datasets/{dataset-id}`

## Request

- Base URL: `https://api.mopinion.com`
- URL: `https://api.mopinion.com/datasets/{dataset-id}`
- Auth: none declared

## Path parameters

- `dataset-id` integer, required

## Headers

- `version` string

## Response `200`

Dataset object

- DatasetResponse
  - `id` integer: Identifier for the report this dataset belongs to
  - `name` string: Dataset name
  - `report_id` integer: Identifier for the report this dataset belongs to
  - `description` string: Description of the dataset
  - `data_source` string: Source providing data for this dataset

## Other responses

- `400`: Dataset id not set
- `401`: Unauthorized
- `404`: Dataset not found

---

[API](https://skmtc.dev/mopinion/apis/mopinion-data-api.md) · [All operations](https://skmtc.dev/mopinion/apis/mopinion-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mopinion/apis/mopinion-data-api/revisions/82d3a0e3a454?raw)
