CA
exotic-emerald

how to get run cost and time from API?

I’m wondering if there’s any way to grab what you see in the consult regarding the time of a runner and a cost of a run and I’d like to be able to grab that we are the API in the JSON. I don’t see anything in the documentation and I’ve searched on discord here, but don’t say anything so curious if anybody has a way of how to do this or is it not possible?
1 Reply
conscious-sapphire
conscious-sapphire2y ago
Hey there! Get run endpoint contains usage, usageTotalUsd and usageUsd fields. (click on API button in the top right corner on the run view)

Did you find this page helpful?