I’m trying to view draft content from Builder.io in my Next.js 15 app before publishing. I can see published content fine, but need to preview autosaved changes.
Thank you for reaching out and for sharing the details of your setup and tests.
In your current implementation, it looks like the includeUnpublished flag is being passed inside the options object. This parameter should instead be passed at the top level of the API call, not within options.
Here’s an updated example that should correctly fetch autosaved or unpublished content: