List posts
list_postsRead-onlyIdempotent
List posts on the blog. Defaults to published posts. Pass status: 'draft' for drafts.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | "published" (default) lists live posts, newest published first; "draft" lists drafts, newest created first. | |
| blog_id | No | Your blog's id, as returned by signup. Optional with an API key: it defaults to the key's blog, and any id you pass must be that blog. Required when the server runs without API keys. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only on failure (isError: true). Success fields are absent then. | |
| posts | No |