Data sources
Retrieve Multiple Data Sources
Retrieve all data sources from your Storyblok space with pagination support.
get/v2/cdn/datasources
Request
- Base URLhttps://api.storyblok.com
- AuthAPI key in query parameter token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
version'draft' | 'published'
Example:published
The content version to retrieve: draft or published. Default is published. Retrieving draft requires a preview access token.
cvinteger
Example:1541863983
Cached version Unix timestamp. Learn more in the Caching concept.
searchstring
Example:labels
Search string.
by_idsstring
Example:12312,234234
Retrieve items by id. Supports a comma-separated string.
pageinteger
Example:1
Page number in a paginated response.
per_pageinteger
Example:25
The number of items per page in a paginated response.
tokenstring required
Example:ask9soUkv02QqbZgmZdeDAtt
A preview or public access token configured in a space.
Response
Datasources returned
Example response
{
"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
}Changes
No recorded changes to this operation across all 1 revision of this API.