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 SubscriptionLifetimeUsage in GraphQL #2519

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

vincent-pochet
Copy link
Collaborator

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 exposes a new SubscriptionLifetimeUsage GraphQL type attached to the Subscription type.

@vincent-pochet vincent-pochet force-pushed the feat-progressive-billing-analytics branch 3 times, most recently from e35675c to 6da1657 Compare September 2, 2024 13:35
@vincent-pochet vincent-pochet force-pushed the feat-progressive-billing-analytics branch from 6da1657 to 8e7ee3a Compare September 2, 2024 13:45
@vincent-pochet vincent-pochet marked this pull request as ready for review September 2, 2024 14:04
@vincent-pochet vincent-pochet merged commit f5ddcdf into main Sep 3, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the feat-progressive-billing-analytics branch September 3, 2024 08:29
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