list_posts
Fetch posts from your Substack publication filtered by status: drafts, published, or scheduled. Includes free-text search, pagination, and sort direction.
Instructions
List the posts of your Substack publication: drafts, published posts or scheduled posts. Supports free-text search, pagination and sort direction. Each post is returned as a summary; use get_draft for the full content of an unpublished one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many posts to return, 1-100, defaulting to 25. | |
| offset | No | How many posts to skip, for paging through the archive. | |
| search | No | Free-text search over the posts, matching title and content. | |
| status | Yes | Which list to read: 'drafts' for unpublished work in progress, 'published' for posts already out, 'scheduled' for posts queued to go out later. | |
| sort_direction | No | Overrides the default order. Drafts and published posts are newest-first; scheduled posts are soonest-first. The column sorted on is fixed per status: draft_updated_at, post_date and trigger_at respectively. |