Repository navigation
feat: show the AI spend detailed report breakdown and export it as CSV - #32482
Merged
ssncferreira merged 3 commits intoNov 24, 2026
Merged
Conversation
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 09:05
ded979c to
3aa11de
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 09:23
3aa11de to
aee21db
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 09:33
aee21db to
d4cd4f7
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 09:51
d4cd4f7 to
3d5e8ad
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 10:50
3d5e8ad to
6672923
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 11:04
6672923 to
67a6a25
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 11:16
67a6a25 to
9ee1808
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 11:26
9ee1808 to
fcf59ef
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 11:34
fcf59ef to
0e05371
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 11:39
0e05371 to
ffd849b
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 11:52
ffd849b to
a8aab12
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 12:00
a8aab12 to
4dddfc7
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 12:09
4dddfc7 to
c700780
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 12:17
c700780 to
24cf452
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 15:17
f4db5a3 to
4d29194
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 15:20
4d29194 to
c53a559
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 15:22
c53a559 to
80b337d
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 16:05
80b337d to
6eb2fee
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 16:07
6eb2fee to
a186fb9
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 16:11
a186fb9 to
6346228
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 16:19
6346228 to
0bac44e
Compare
ssncferreira
force-pushed
the
ssncf/ai-spend-report-columns
branch
from
November 20, 2026 16:42
0bac44e to
dc96b49
Compare
This was referenced Nov 20, 2026
DanielleMaywood
approved these changes
Nov 24, 2026
jeremyruppel
approved these changes
Nov 24, 2026
This branch had an error being deployed
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.
Description
Adds the Providers, Models, and Clients columns to the Detailed report, a row menu with Cost details and User AI session logs, and Export CSV, which downloads the last run of the report.
Changes
UserSpendMenu, used by both tabs.CostDetailsDialogtake only the user's name, username, avatar, and spend, so both Top spenders and report rows can open it.DetailedReportTabpropcanFiltertocanViewSessions, since it now also gates the session logs.resolveAISpendReportFilter, shared by the report and the export.getOrganizationAISpendExportand theexportOrganizationAISpendmutation, which requests the export with the last run's days and filter. The endpoint has no client filter yet, so the export ignores it (TODO(AIGOV-733)).saveAs, named after the organization and the picked days, and show a toast when the export fails.Closes AIGOV-731
Note
Generated by Coder Agents on behalf of @ssncferreira.