docs: surface cost attribution a bit more + link to api#2590
Merged
Conversation
Add cost attribution as an admin capability in the enterprise resource groups overview, and link the usage-by-resource-group billing API endpoint from the security resource groups page.
julien-c
approved these changes
Jun 24, 2026
The raw {name} path-template parameter inside the markdown link was
parsed by the doc-builder prerenderer as a JS interpolation expression
("ReferenceError: name is not defined"), failing the docs build. Encode
the braces as %7B/%7D, matching the convention used for other OpenAPI
orgs-tag links in the repo.
The markdown link's {name} path parameter reached the Svelte prerenderer
verbatim ("ReferenceError: name is not defined" in _page.svelte.js),
aborting the docs build. URL-encoding (%7B/%7D) didn't help because
mdsvex normalizes the href before Svelte sees it. Switch to a raw <a>
tag with HTML-encoded braces ({name}), matching the existing
convention in programmatic-user-access-control.md for OpenAPI orgs links.
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Muhammadsaeed707
approved these changes
Jun 24, 2026
Charlie-Boyer
approved these changes
Jun 25, 2026
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.
Note
Low Risk
Markdown-only documentation changes with no runtime or security impact.
Overview
Documentation-only updates to make resource group cost attribution easier to discover.
The enterprise resource groups overview now lists attributing costs to specific resource groups among admin capabilities. The security resource groups Cost attribution section adds a link to the OpenAPI docs for
GET /api/organizations/{name}/billing/usage-by-resource-groupso teams can pull per-group usage data programmatically.Reviewed by Cursor Bugbot for commit 44966b3. Bugbot is set up for automated code reviews on this repo. Configure here.