---
title: "Preview linked dataset content"
method: GET
path: "/datasets/{datasetId}/v/{version}/preview"
tags: ["datasets"]
---

# Preview linked dataset content

`GET /datasets/{datasetId}/v/{version}/preview`

Fetches a partial preview of the content for a linked dataset version.

## Path parameters

- `datasetId` string, required
- `version` integer, required

## Query parameters

- `workspaceId` integer

## Response `200`

OK

- DatasetPreviewResponse
  - `content` string
  - `fileTooLarge` boolean
  - `reachable` boolean

## Other responses

- `400` — Bad request
- `403` — Operation not allowed
- `404` — Dataset or version not found

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
