Repository navigation
docs(enterprise-api): OpenRouter-compatible billing reads - #136
Merged
Merged
Conversation
GET /v1/key, /v1/activity, /v1/generation and the data block on /v1/credits, live on api.blockrun.ai since enterprise ba37a50e (#384) and 2898e660 (#385). Same text as enterprise docs/enterprise-api.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A customer asked for api.blockrun.ai's billing reads to work like OpenRouter's. The endpoints are live (enterprise #384 at
ba37a50e, lookup fix #385 at2898e660, probed 200 on api.blockrun.ai), but only the enterprise repo's unpublished copy of this page describes them.What
docs/getting-started/enterprise-api.md, additions only:/v1/key,/v1/activity,/v1/generation./v1/credits: the newdata: { total_credits, total_usage }in the example, and one paragraph on it.docs/enterprise-api.md.Nothing else from the enterprise copy is synced here (the two had already drifted, e.g.
/v1/usage.csv); that is a separate change.After merge: bump the
awesome-blockrunpin in blockrun and deploy blockrun for blockrun.ai/docs to show it.🤖 Generated with Claude Code