Best Practices
Follow best practices to avoid being rate-limited and triggering unnecessary updates.
Rate Limits
Rate limits help ensure a consistent developer experience for all API users. By default, requests are limited to 60 requests every 30 seconds.
When a request has been rate-limited, it will return a TOO_MANY_REQUESTS
error and send the following headers in response:
The number of requests allowed per window milliseconds.
The time frame, in milliseconds, to keep track of requests.
The number of milliseconds to wait before retrying.
Size Limits
Pine also limits the size of input parameters and the overall request to a 256KB payload.
Depth of recursive Block
editor inputs.
3 levels deep.
Arrays of Block
or Inline
editor inputs.
100 elements.
Inner Text
string inputs
1000 characters.
For example, the following request would violate the depth, element, and character limits:
Last updated