---
title: "Fetch datasource preview (GET)"
method: GET
path: "/datasources/{id}/fetch"
tags: ["Datasources"]
---

# Fetch datasource preview (GET)

`GET /datasources/{id}/fetch`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/datasources/{id}/fetch`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Read — Workspace member with read access or higher.

## Path parameters

- `id` string, uuid, required

## Response `200`

Success

- object

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
