---
title: "Download sample rows for a dataset"
method: GET
path: "/datasets/{id}/sample"
---

# Download sample rows for a dataset

`GET /datasets/{id}/sample`

## Request

- Base URL: `https://api.databazaar.io`
- URL: `https://api.databazaar.io/datasets/{id}/sample`
- Auth: none required

## Path parameters

- `id` string, uuid, required

## Response `200`

Sample data (JSON or CSV depending on dataset format)

## Other responses

- `404`: Dataset not found or no sample available

---

[API](https://skmtc.dev/databazaar/apis/databazaar-api.md) · [All operations](https://skmtc.dev/databazaar/apis/databazaar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/databazaar/apis/databazaar-api/revisions/02e6531ad801?raw)
