Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ProgressiveBilling): Expose lifetime usage GET and PUT #212

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

vincent-pochet
Copy link
Contributor

Context

AI companies want their users to pay before the end of a period if usage skyrockets. The problem being that self-serve companies can overuse their API without paying, triggering lots of costs on their side.

Description

This PR adds new routes to fetch and update the lifetime usage of a subscription

@vincent-pochet vincent-pochet force-pushed the feat-progressive-billing-analytics branch from 758402b to 0d84147 Compare September 5, 2024 13:07
@vincent-pochet vincent-pochet force-pushed the feat-progressive-billing-analytics branch from 0d84147 to 84f754a Compare September 5, 2024 13:07
Copy link
Contributor

@nudded nudded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

@vincent-pochet vincent-pochet merged commit 894ca40 into main Sep 5, 2024
4 checks passed
@vincent-pochet vincent-pochet deleted the feat-progressive-billing-analytics branch September 5, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants