---
title: "Retrieve a Single Data Source"
method: GET
path: "/v2/cdn/datasources/{id}"
tags: ["Data sources"]
---

# Retrieve a Single Data Source

`GET /v2/cdn/datasources/{id}`

## Request

- Base URL: `https://api.storyblok.com`
- URL: `https://api.storyblok.com/v2/cdn/datasources/{id}`
- Auth: API key in query parameter `token`
- TypeScript: <https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api/docs/v2/cdn/datasources/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a single data source by `id`.

## Path parameters

- `id` string, required

## Query parameters

- `version` 'draft' | 'published'
- `cv` integer
- `token` string, required

## Response `200`

Datasource Found

- object
  - `datasource` Datasource, required
    - `id` integer, required: Data source ID.
    - `name` string, required: Data source name.
    - `slug` string, required: Data source `slug`.
    - `dimensions` Dimension[], required: An array listing the dimensions defined for the data source.
      - `id` integer, required: Dimension ID.
      - `name` string, required: Dimension name.
      - `entry_value` string, required: Dimension value.
      - `datasource_id` integer: ID of the data source that contains this dimension.
      - `created_at` string, date-time: Creation timestamp. Supports ISO 8601.
      - `updated_at` string, date-time: Latest update timestamp. Supports ISO 8601.
    - `created_at` string, date-time: Creation timestamp. Supports ISO 8601.
    - `updated_at` string, date-time: Latest update timestamp. Supports ISO 8601.
  - `cv` integer, nullable, required: Cached version Unix timestamp. Learn more in the [Caching concept](https://www.storyblok.com/docs/concepts/caching).

## Other responses

- `401`: Unauthorized
- `404`: Datasource not found
- `429`: Rate limit reached

---

[API](https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api.md) - [All operations](https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/storyblok/apis/storyblok-content-delivery-api/revisions/5b75af03f24f?raw)
