Billing question
Hey, the math doesn't add up here... please check the images! How can I get the same amount through the API?


9 Replies
I am wondering if it is related to the time zones. @nathaniel
just to compare apples to apples, can you try setting
grouping: gpuTypeId
in the billing api request?
I will see if there's a difference in the backend queries, it looks like there might be
if so it'll be a quick fix
try now @vuuw I found a difference
thanks for reporting, I think that was it
but lmk if numbers still don't agree
hopefully you can see that the diskSpaceBilledGB
is really in units of GB * time, and so is correct but isn't super informativeHey, thanks for checking this! I tried again and get this now:


Is it correct to assume that amount should be same as what's shown in billing explorer?
yeah, it should be the same
get rid of all the filters though, they seem to be filled in with default values from the api testing site never mind I see only the two right ones are checked
hmm yeah still looks wrong doesn't it. ok, bear with me. will check with my own billing data now and report back when they match / what the issue was
ok, I think the fix from yesterday just didn't take. the service the queries are running on has some kinda weird ux for when your changes are actually published
try now, the fix is actually there this time :Facepalm:
Looks fixed now 😄

Thanks!
great. sorry it took some stumbling around. hope the billing apis help you out
No problem, thanks for the quick support!