Skip to main content
GET
integer
default:"30"
How far back to look, in days. Defaults to 30 when omitted, and is clamped to a maximum of 366. 0, or a value that is not a number, falls back to 30; a negative value is raised to 1.The default is not “all time”. Asking for every row an account has ever written costs seconds on a busy account and almost nobody wants it — the dashboard always sends an explicit window, so this default only covers callers that name none. Ask for the window you want.

Response

cost is what you were charged, in US dollars. Models you did not call in the window are absent from by_model rather than present with zeros.