younifyd
Menu

List Datasources

Retrieve Multiple Data Sources

GET/v2/cdn/datasources

Use it in a workflow

  1. Add a step and choose the Storyblok Delivery connector.
  2. Pick the List Datasources action (under Data sources).
  3. Fill in the fields below, then reference the result from later steps as {{listDatasources.response.data}}.

Request

Query parameters

versionstring

The content version to retrieve: `draft` or `published`. Default is `published`. Retrieving `draft` requires a preview access token.

One ofdraftpublishedDefault "published"

cvinteger

Cached version Unix timestamp. Learn more in the [Caching concept](https://www.storyblok.com/docs/concepts/caching).

searchstring

Search string.

by_idsstring

Retrieve items by `id`. Supports a comma-separated string.

pageinteger

Page number in a [paginated](https://www.storyblok.com/docs/api/content-delivery/v2#pagination) response.

Default 1

per_pageinteger

The number of items per page in a [paginated](https://www.storyblok.com/docs/api/content-delivery/v2#pagination) response.

Default 25

Response

Returns 200 with an object. Read it in later steps with {{listDatasources.response.data.<field>}}.

datasourcesarray<object>

An array of data source objects.

idintegerrequired

Data source ID.

namestringrequired

Data source name.

slugstringrequired

Data source `slug`.

dimensionsarray<object>required6 fields

An array listing the dimensions defined for the data source.

created_atstring (date-time)

Creation timestamp. Supports ISO 8601.

updated_atstring (date-time)

Latest update timestamp. Supports ISO 8601.

cvinteger

Cached version Unix timestamp. Learn more in the [Caching concept](https://www.storyblok.com/docs/concepts/caching).

json
{
  "datasources": [
    {
      "id": 123,
      "name": "Background Color",
      "slug": "background-color",
      "dimensions": [
        {
          "id": 1,
          "name": "Width",
          "entry_value": "a language code",
          "datasource_id": 1123,
          "created_at": "2025-07-09T14:35:26.851Z",
          "updated_at": "2025-07-09T14:35:26.851Z"
        }
      ],
      "created_at": "2025-07-09T14:35:26.851Z",
      "updated_at": "2025-07-09T14:35:26.851Z"
    }
  ],
  "cv": 1541863983
}

Need more? See the Storyblok Delivery guide for connection setup and behaviour shared by every action.