Skip to main content
Solved

API limits changed?


Forum|alt.badge.img+2
  • Contributor III
  • 6 replies

Since today, we are noticing values for the RateLimit–Limit header for rate limits that are not listed here: https://developers.klaviyo.com/en/docs/rate_limits_and_error_handling#rate-limits

Some of those header values:

'10, 10;w=1, 150;w=60'
'75, 75;w=1, 700;w=60'

Until now we were able to match and use those values instead:

'150, 10;w=1, 150;w=60'
'700, 75;w=1, 700;w=60'

Is this a change on purpose, on the current API stable version v2023-12-15? Should we expect new header values now? Or they are on top of the existing values, and how should we translate them?

Best answer by saulblum

There was an update to make the header reflect the actual enforced limits, if certain additional parameters are used. For example, for Get Profiles:

Rate limits when using the additional-fields[profile]=predictive_analytics parameter in your API request:
Burst: 10/s
Steady: 150/m

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Forum|alt.badge.img+7
  • Klaviyo Employee
  • 169 replies
  • Answer
  • February 6, 2024

There was an update to make the header reflect the actual enforced limits, if certain additional parameters are used. For example, for Get Profiles:

Rate limits when using the additional-fields[profile]=predictive_analytics parameter in your API request:
Burst: 10/s
Steady: 150/m


Forum|alt.badge.img+2
  • Author
  • Contributor III
  • 6 replies
  • February 7, 2024

Should those updates happen on a new API version and the docs be updated, rather than breaking existing API version that may be used in a production system? Thank you.


Brian Turcotte
Forum|alt.badge.img+37

Hi @babis!

I will reach out to our documentation team to have those updates reflected immediately.

 

Best,

Brian