List Posts
Retrieve published blog posts with pagination.
Updated
On this page
Overview
Fetch a paginated list of published blog posts. Supports filtering by category, tag, search, and custom fields.
SDK Usage
import dash from "@/lib/dash"
const { posts, pagination } = await dash.blog.list({
limit: 10,
offset: 0,
})
// posts = [{ id, title, slug, excerpt, featured_image, author, published_at, ... }]