↓ Skip to main content

Buffer Rate Limits & Idempotency #

Operational limits, 429 backoff procedures, and retry rules for agent pipelines.


Rate Limit Windows #

Buffer enforces three stacked rate-limiting windows per API token:

WindowDurationScope / Purpose
15m15 minutesBurst protection
24h24 hoursDaily fairness
30d30 daysAccount monthly quota

Handling HTTP 429 & Backoff #

On rate limit trip (Exit Code 3):

  1. Extract Retry-After seconds from the stderr error message.
  2. Sleep for the specified duration.
  3. Retry once. If another 429 occurs, double the sleep interval and retry once more.

Idempotency & Retry Matrix #

Command GroupIdempotent?Retry Strategy on Failure
account, channels list, channels getYesSafe to retry immediately
posts list, posts get, dailyPostingLimitsYesSafe to retry immediately
posts createNOSearch recent posts via posts list before retrying
ideas createNOInspect existing ideas before re-issuing
posts deleteYes (effectively)Second call returns exit 3 (“not found”)