Helicone Community Page

Updated 11 months ago

Logging of all costings for all requests through my project key

At a glance

The community member is the only user of a project and needs to log all costings for requests through the project key. The current workaround is to manually download CSV files for each page of requests. Another community member suggests that the cost data can be added to the REST API, and this is confirmed to be implemented and released within 10 minutes.

Anyway, this doesn't serve my original purpose as I do not have users -- I am the only user as the administrator, and I need logging of all costings for all requests through my project key. At the moment the only workaround is to download csvs manually for every page of the requests.
J
h
7 comments
Hi What types of data are you looking to extract from the API?
Hey. So I wanted to duplicate the “Export” csv available from the Requests panel. It only works one page at a time, but I want to be able export my entire history. It looks as though I can almost replicate this with the REST API, but it does not expose the cost, which is the most important parameter for me.
Ohh right! I can go an add that in tomorrow
Oh that's awesome, thanks.
Can I assume it'll appear here like data.cost ?
Attachment
image.png
Hi @humanloop!! I just added it as data.costUSD

It should be merged in and released in <10minutes
Awesome, gg pushing it on Sunday
Add a reply
Sign up and join the conversation on Discord