fetch_stories
Retrieve multiple stories from Storyblok using advanced filters like component type, tags, search terms, and pagination to manage content efficiently.
Instructions
Fetch multiple stories from Storyblok with advanced filtering and pagination.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| per_page | No | Number of stories per page | |
| contain_component | No | Filter by component name | |
| text_search | No | Full-text search | |
| sort_by | No | Sort field (e.g., "created_at:desc") | |
| pinned | No | Filter pinned stories | |
| excluding_ids | No | Comma-separated IDs to exclude | |
| by_ids | No | Comma-separated IDs to include | |
| by_uuids | No | Comma-separated UUIDs | |
| with_tag | No | Filter by tag | |
| folder_only | No | Return folders only | |
| story_only | No | Return stories only (no folders) | |
| with_parent | No | Filter by parent folder ID | |
| starts_with | No | Filter by slug prefix | |
| in_trash | No | Include trashed stories | |
| search | No | Search in name field | |
| filter_query | No | Filter query object or JSON string | |
| in_release | No | Filter by release ID | |
| is_published | No | Filter by published status | |
| by_slugs | No | Comma-separated slugs | |
| mine | No | Return only my stories | |
| excluding_slugs | No | Comma-separated slugs to exclude | |
| in_workflow_stages | No | Filter by workflow stage IDs | |
| by_uuids_ordered | No | Comma-separated UUIDs, results in same order | |
| with_slug | No | Filter by exact slug | |
| with_summary | No | Include summary in response | |
| scheduled_at_gt | No | Filter scheduled after date | |
| scheduled_at_lt | No | Filter scheduled before date | |
| favourite | No | Filter favourited stories | |
| reference_search | No | Search in referenced content |