docs(enterprise): the account endpoints were live and undocumented - #99
Merged
Merged
Conversation
A customer asked whether there is an API to read their balance and could not find it. There isn't a page — the endpoints have been live on api.blockrun.ai the whole time: GET /v1/credits balance, and whether the next call is refused GET /v1/account the same payload GET /v1/usage/summary totals by day, model, endpoint and key GET /v1/usage the row-level ledger, paginated blockrun.ai/docs opens with "no API keys", because it is the x402 product. An enterprise customer holding a brk_live_ key reads that and concludes we have no docs for them, which is what happened. The page is the one merged in the enterprise repo (8e8276cc, #193) — every response shape verified against the handlers and against prod — moved here so it renders at blockrun.ai/docs where customers look. Its one relative link is repointed for the new depth (products/intelligence/pricing.md -> ../products/intelligence/pricing.md). README's Links line said enterprise sign-in was "coming soon". It is live, so it now points at the new page and at user.blockrun.ai. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R81gntfKNoGiN2MSCPy7xY
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.
A customer asked whether there is an API to read their balance, and said they could not find docs for it. There is no page — but the endpoints have been live on
api.blockrun.aithe whole time:GET /v1/creditsGET /v1/accountGET /v1/usage/summaryGET /v1/usageblockrun.ai/docsopens with "no API keys", because it documents the x402 product. An enterprise customer holding abrk_live_key reads that and concludes we have nothing for them. That is what happened.What's here
docs/getting-started/enterprise-api.md— the page merged in the enterprise repo (8e8276cc, BlockRunAI/enterprise#193), where every response shape was verified against the handlers and against production. Moved here so it renders atblockrun.ai/docs, which is where customers look.products/intelligence/pricing.md→../products/intelligence/pricing.md(thekindrow of the/v1/usagefield table), matching howsdk-developers.mdandagent-developers.mdalready link to that page.docs/SUMMARY.md— listed under Getting Started, after Wallet Setup. Wallet Setup is the x402 on-ramp; this is the other one.docs/README.md— the Links line said enterprise sign-in was "coming soon". It is live, so it now points at this page and at user.blockrun.ai.Notes
No new claims and no counts — nothing for the brand-number guards to check.
:::tipand:::infoare both incallout.tsx'sKindunion, so the directives render.Shipping this needs the
awesome-blockrunpointer bumped inblockrunand a deploy; that PR follows.🤖 Generated with Claude Code
https://claude.ai/code/session_01R81gntfKNoGiN2MSCPy7xY