Storyblok
Search Storyblok's Documentation
  1. Retrieve Multiple Stories from a Folder

Retrieve Multiple Stories from a Folder

To retrieve stories from a particular folder, use the starts_with parameter.

query {
  PageItems(starts_with: "articles") {
    items {
      content {
        _editable
        _uid
        body
        component
      }
    }
  }
}

To retrieve specific stories, you can use other filters, such as first_published_at_lt , excluding_slugs etc. These are the same filters available from the REST API endpoint. For an overview of available parameters, please refer to the Content Delivery API documentation.

Note that the cached_url property in the link field is camelCased rather than snake_cased in the GraphQL API.