API - Days Until Progress Parameter?

Does anyone happen to know if there is a parameter in the API that controls how many days until progress has to be made? See below for example from the web interface:

1 Like

I believe that parameter is called buffer_days, though I don’t see it documented in the API docs. Nevertheless, I’m pretty sure you can pass it as a parameter to the goal creation API (but perhaps it being undocumented is meant as a hint not to use it, for some reason, not just an accidental omission? Not sure.)

3 Likes

Nifty, thank you. That’s what I was looking for.

On a related note, is there a parameter that defines the initial deadline time?

1 Like

There is also safebuf (value as an integer eg “1”) or safesum (as a string “safe for 1 day”)
http://api.beeminder.com/#attributes-2

2 Likes