younifyd
Menu

List Stories

List stories

GET/v1/spaces/{space_id}/stories

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the List Stories action (under Stories).
  3. Fill in the fields below, then reference the result from later steps as {{listStories.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

Query parameters

pageinteger

Page number to return.

per_pageinteger

Entries per page (default 25, max 100).

contain_componentstring

Filter by nestable blocks contained in the content; comma-separated values must all be present.

text_searchstring

Search any string in story name, slug, full slug or content.

sort_bystring

Sort by story property or content field, e.g. created_at:desc or content.FIELD:asc; append :int or :float for numeric sorts.

excluding_idsstring

Comma-separated story IDs to exclude.

by_idsstring

Comma-separated story IDs to retrieve.

by_uuidsstring

Comma-separated story UUIDs to retrieve.

by_uuids_orderedstring

Comma-separated UUIDs; response keeps this order.

with_tagstring

Comma-separated tags the story must have.

folder_onlyboolean

Return only folder-type stories.

story_onlyboolean

Return only non-folder stories.

with_parentinteger

Filter by parent folder ID.

starts_withstring

Filter stories whose slug starts with this value.

in_trashboolean

Return only deleted stories.

searchstring

Search stories by name, slug or full slug.

filter_querystring

Filter by content-type fields using the filter_query syntax, e.g. filter_query[field][operation]=value. Operations match the Content Delivery API except any_in_array (use in_array) and OR grouping.

in_releaseinteger

Return stories grouped in the release with this ID.

is_publishedboolean

true for published stories only, false for drafts/unpublished.

with_slugstring

Return stories with this exact full slug.

by_slugsstring

Comma-separated full slugs; supports wildcards such as posts/*.

excluding_slugsstring

Comma-separated full slugs to exclude; supports wildcards.

mineboolean

Return only stories assigned to the current user token.

in_workflow_stagesstring

Comma-separated workflow stage IDs.

with_summaryboolean

Include a content_summary object in each story.

scheduled_at_gtstring

Stories scheduled after this ISO UTC timestamp.

scheduled_at_ltstring

Stories scheduled before this ISO UTC timestamp.

favouriteboolean

Return only stories marked as favorites.

reference_searchstring

Search referenced stories and assets by UUID, name or asset URL.

Response

Returns 200 with an object. Read it in later steps with {{listStories.response.data.<field>}}.

storiesarray<object>
json
{
  "stories": [
    {}
  ]
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.