list_posts

Read-only

Lists posts in this workspace, newest first, optionally by status, account or time range. Use get_post for one post in full.

Permission

Scope posts:read: Read posts and their status. Allowed in every mode.

Input

Input
NameTypeDescription
status"draft" | "pending_approval" | "scheduled" | "published" | "failed"—
account_idstringacc_ ID
fromstringdate-time
tostringdate-time
limitinteger1 to 50
cursorstring0 to 200 characters

Output

Output
NameTypeDescription
posts Requiredobject[]—
next_cursor Requiredstring | null—

Example

Request

{
  "status": "scheduled",
  "limit": 20
}

Response

{
  "posts": [
    {
      "post_id": "post_…",
      "status": "scheduled",
      "version": 2
    }
  ],
  "next_cursor": null
}

Errors

Rate limit

60 calls a minute per connection, and 300 a minute across all tools.

Related tools