Skip to content

Retrieve Multiple Data Sources

Retrieve all data sources from your Storyblok space with pagination support.

GET
https://api.storyblok.com/v2/cdn/datasources
  • version string

    Filter by the story’s publication status.

  • cv integer

    Cached version Unix timestamp. Learn more in the Caching concept.

  • search string

    Search string.

  • by_ids string

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

  • page integer

    Page number in a paginated response.

  • per_page integer

    The number of items per page in a paginated response.

  • token required string

    A preview or public access token configured in a space.

  • datasources array<Datasource>

    An array of data source objects.

    Show child properties
    • id integer

      Data source ID.

    • name string

      Data source name.

    • slug string

      Data source slug.

    • dimensions array<Dimension>

      An array listing the dimensions defined for the data source.

      Show child properties
      • id integer

        Dimension ID.

      • name string

        Dimension name.

      • entry_value string

        Dimension value.

      • datasource_id integer

        The id of the data source that contains this dimension.

      • created_at string

        Creation timestamp. Supports ISO 8601.

      • updated_at string

        Latest update timestamp. Supports ISO 8601.

    • created_at string

      Creation timestamp. Supports ISO 8601.

    • updated_at string

      Latest update timestamp. Supports ISO 8601.

  • cv integer | null

    Cached version Unix timestamp. Learn more in the Caching concept.

curl "https://api.storyblok.com/v2/cdn/datasources\
?token=ask9soUkv02QqbZgmZdeDAtt"
Response
{
"datasources": [
{
"id": 1123,
"name": "Labels",
"slug": "labels",
"dimensions": [
{
"id": 1,
"name": "en",
"entry_value": "en",
"datasource_id": 1123
}
],
"created_at": "2025-02-10T08:12:00.000Z",
"updated_at": "2025-02-10T08:12:00.000Z"
},
{
"id": 1124,
"name": "Colors",
"slug": "colors",
"dimensions": [],
"created_at": "2025-02-11T09:00:00.000Z",
"updated_at": "2025-02-11T09:00:00.000Z"
}
],
"cv": 1541863983
}

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.