---
title: "Preview Dataset"
method: GET
path: "/v1/datasets/{slug}/preview"
---

# Preview Dataset

`GET /v1/datasets/{slug}/preview`

## Request

- Base URL: `https://api.dryos.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dryos.ai/v1/datasets/{slug}/preview`
- Auth: none declared

Aggregate the recent window into something chartable.

One row per settlement interval with the spread across nodes. Raw is not an
option for a preview — an ERCOT day is ~322k rows — and the spread is the
more informative shape anyway: it shows congestion, not just level.

min/avg/max rather than percentiles so the same SQL runs on Postgres and on
a local SQLite dev database.

## Path parameters

- `slug` string, required

## Query parameters

- `hours` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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