Skip to content

docs: remove the User spend page from AI Gateway docs - #29844

Merged
ssncferreira merged 1 commit into
ssncf/hide-ai-spend-sidebarfrom
ssncf/remove-user-spend-docs
Sep 25, 2026
Merged

ssncferreira merged 1 commit into
ssncf/hide-ai-spend-sidebarfrom
ssncf/remove-user-spend-docs

Conversation

@ssncferreira

@ssncferreira ssncferreira commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Remove the User spend page from the AI Gateway and spend management docs, since the page is hidden from the sidebar and marked experimental for this release. The removed content is commented out with a TODO so it can be restored once the page leaves experimental.

Related to internal Slack thread.

Changes

  • Comment out the User spend page in the dashboard visibility table and spend details lists in cost-controls.md and spend-management.md.

Note

Generated by Coder Agents on behalf of @ssncferreira.

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

@ssncferreira
ssncferreira force-pushed the ssncf/remove-user-spend-docs branch from 4883a12 to 4209f52 Compare September 25, 2026 12:10
@ssncferreira
ssncferreira force-pushed the ssncf/remove-user-spend-docs branch from 4209f52 to dcc1c16 Compare September 25, 2026 12:20
@ssncferreira
ssncferreira force-pushed the ssncf/remove-user-spend-docs branch 2 times, most recently from 971dc6c to 8d2afd8 Compare September 25, 2026 12:30
@ssncferreira
ssncferreira force-pushed the ssncf/remove-user-spend-docs branch from 8d2afd8 to af491c3 Compare September 25, 2026 12:41
@ssncferreira
ssncferreira force-pushed the ssncf/remove-user-spend-docs branch from af491c3 to 282ecb7 Compare September 25, 2026 12:45
@ssncferreira
ssncferreira marked this pull request as ready for review September 25, 2026 12:47
@ssncferreira
ssncferreira force-pushed the ssncf/remove-user-spend-docs branch from 282ecb7 to fbc06f6 Compare September 25, 2026 16:21
@ssncferreira
ssncferreira merged commit 4b3c2b3 into main Sep 25, 2026
39 of 60 checks passed
@ssncferreira
ssncferreira deleted the ssncf/remove-user-spend-docs branch September 25, 2026 16:35
ssncferreira added a commit that referenced this pull request Sep 25, 2026
)

## Description

Move `GET /organizations/{organization}/ai/spend/users` under
`/api/experimental` so the per-user spend report is not part of the
stable API for this release. The endpoint behavior is unchanged.

Related to [internal Slack
thread](https://codercom.slack.com/archives/C04M9CNGHGF/p1790190171687059?thread_ts=1790190121.005749&cid=C04M9CNGHGF).

## Changes

- Register the route on the experimental handler and mark it
`@x-apidocgen {"skip": true}`, which removes it from the generated API
reference.
- Move the Go SDK method to `ExperimentalClient` and the frontend method
to `API.experimental`.
- Drop the docs link to the removed API reference section. The link is
commented out with a TODO so it can be restored later.

User-facing docs for the **User spend** page are updated upstack in
#29844.

> [!NOTE]
> Generated by Coder Agents on behalf of @ssncferreira.
ssncferreira added a commit that referenced this pull request Sep 25, 2026
## Description

Hide the **User spend** page from the AI settings sidebar for this
release and mark the page as experimental. The page stays reachable at
`/ai/settings/spend`, so nothing else about it is removed.

Related to [internal Slack
thread](https://codercom.slack.com/archives/C04M9CNGHGF/p1790190171687059?thread_ts=1790190121.005749&cid=C04M9CNGHGF).

Screenshot

<img width="1186" height="613" alt="Screenshot 2026-09-25 at 13 44 50"
src="https://github.com/user-attachments/assets/820058d5-1b88-4fe7-8c95-01b1fe2211cb"
/>


## Changes

- Remove the sidebar nav item and the spend access lookup that only fed
it.
- Add an `Experimental` badge next to the page title and a warning alert
explaining that reports may load slowly and the page may change or be
removed.

Docs for the **User spend** page are updated upstack in #29844.

> [!NOTE]
> Generated by Coder Agents on behalf of @ssncferreira.
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants