Menu
Get Datasource By Id
Retrieve a Single Data Source
GET
/v2/cdn/datasources/{id}Use it in a workflow
- Add a step and choose the Storyblok Delivery connector.
- Pick the Get Datasource By Id action (under Data sources).
- Fill in the fields below, then reference the result from later steps as
{{getDatasourceById.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getDatasourceById.response.data.<field>}}.
{
"datasource": {
"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.
Was this page helpful?