Skip to content

docs(enterprise-api): OpenRouter-compatible billing reads - #136

Merged
VickyXAI merged 1 commit into
mainfrom
docs/openrouter-billing-reads
Oct 16, 2026
Merged

VickyXAI merged 1 commit into
mainfrom
docs/openrouter-billing-reads

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

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 at 2898e660, 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:

  • Account endpoints table: a row for /v1/key, /v1/activity, /v1/generation.
  • /v1/credits: the new data: { total_credits, total_usage } in the example, and one paragraph on it.
  • New section OpenRouter-compatible billing reads, same text as enterprise 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-blockrun pin in blockrun and deploy blockrun for blockrun.ai/docs to show it.

🤖 Generated with Claude Code

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.
@VickyXAI
VickyXAI merged commit 32bdfe9 into main Oct 16, 2026
1 check passed
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.

1 participant