Storyblok · Arazzo Workflow

Storyblok Provision Datasource

Version 1.0.0

Validate the space, create a datasource, then read its entries back through the Content Delivery API.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CMSContent DeliveryContent ManagementHeadless CMSImage OptimizationREST APIVisual EditorWebhookArazzoWorkflows

Provider

storyblok

Workflows

provision-datasource
Validate a space, create a datasource, and verify it via the delivery API.
Confirms the target space, creates a named datasource, and reads back its entries through the public delivery token to confirm reachability.
3 steps inputs: datasourceName, datasourceSlug, deliveryToken, space_id outputs: datasourceId, datasourceSlug, entries
1
validateSpace
Confirm the target space exists and is accessible before provisioning.
2
createDatasource
Create the datasource container in the space.
3
verifyEntries
Read the datasource entries back through the public Content Delivery API by slug to confirm the datasource is queryable.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Storyblok Provision Datasource
  summary: Validate the space, create a datasource, then read its entries back through the Content Delivery API.
  description: >-
    Stands up a reusable datasource for options lists and translations. The
    space is first validated, a datasource is then created through the
    Management API, and finally its entries are read back through the public
    Content Delivery API by slug to confirm the datasource is queryable.
    Storyblok exposes no public endpoint for adding individual datasource
    entries, so this flow provisions the datasource container and verifies it
    is reachable rather than seeding entries; entries are added in the editor.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: datasourcesApi
  url: ../openapi/storyblok-datasources-api-openapi.yml
  type: openapi
- name: spacesApi
  url: ../openapi/storyblok-spaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-datasource
  summary: Validate a space, create a datasource, and verify it via the delivery API.
  description: >-
    Confirms the target space, creates a named datasource, and reads back its
    entries through the public delivery token to confirm reachability.
  inputs:
    type: object
    required:
    - space_id
    - datasourceName
    - datasourceSlug
    - deliveryToken
    properties:
      space_id:
        type: integer
        description: Numeric ID of the Storyblok space.
      datasourceName:
        type: string
        description: Display name for the new datasource.
      datasourceSlug:
        type: string
        description: URL-safe slug used to query the datasource entries.
      deliveryToken:
        type: string
        description: Public Content Delivery API token for the space.
  steps:
  - stepId: validateSpace
    description: Confirm the target space exists and is accessible before provisioning.
    operationId: getSpace
    parameters:
    - name: space_id
      in: path
      value: $inputs.space_id
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      spaceId: $response.body#/space/id
  - stepId: createDatasource
    description: Create the datasource container in the space.
    operationId: createDatasource
    parameters:
    - name: space_id
      in: path
      value: $inputs.space_id
    requestBody:
      contentType: application/json
      payload:
        datasource:
          name: $inputs.datasourceName
          slug: $inputs.datasourceSlug
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      datasourceId: $response.body#/datasource/id
      datasourceSlug: $response.body#/datasource/slug
  - stepId: verifyEntries
    description: >-
      Read the datasource entries back through the public Content Delivery API
      by slug to confirm the datasource is queryable.
    operationId: listDatasourceEntries
    parameters:
    - name: token
      in: query
      value: $inputs.deliveryToken
    - name: datasource
      in: query
      value: $steps.createDatasource.outputs.datasourceSlug
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      entries: $response.body#/datasource_entries
  outputs:
    datasourceId: $steps.createDatasource.outputs.datasourceId
    datasourceSlug: $steps.createDatasource.outputs.datasourceSlug
    entries: $steps.verifyEntries.outputs.entries

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/storyblok-provision-datasource-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.