René's URL Explorer Experiment


Title: feat(coderd/database): add AI spend session count query by ibetitsmike · Pull Request #29222 · coder/coder · GitHub

Open Graph Title: feat(coderd/database): add AI spend session count query by ibetitsmike · Pull Request #29222 · coder/coder

X Title: feat(coderd/database): add AI spend session count query by ibetitsmike · Pull Request #29222 · coder/coder

Description: Secure environments for developers and their agents - feat(coderd/database): add AI spend session count query by ibetitsmike · Pull Request #29222 · coder/coder

Open Graph Description: Third of a seven-PR stack that restores the admin Spend page removed in #27330, rebuilt on the cost data AI Gateway already records. The stack lands the three database queries first (per-user spend...

X Description: Third of a seven-PR stack that restores the admin Spend page removed in #27330, rebuilt on the cost data AI Gateway already records. The stack lands the three database queries first (per-user spend...

Opengraph URL: https://github.com/coder/coder/pull/29222

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b62200a6-0d70-eb72-8287-1597864fdef0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E72:16AB79:169DBBB:1CC47B9:6B0137B6
html-safe-nonceebd3b58beab60c41cf326b28b6600c3081161cadf0ae9d9ef1144a8ba11721ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTcyOjE2QUI3OToxNjlEQkJCOjFDQzQ3Qjk6NkIwMTM3QjYiLCJ2aXNpdG9yX2lkIjoiMzgwNDI0MTA3NjMzNjgwMTcxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac31175b128cdf32991e24ca73691526e3d2121b4cff467630ef5bb4c078ac583e
hovercard-subject-tagpull_request:4504581214
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/29222/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c00ce31be6b8e9c6cca51fa5aff9bf5f5e2c0e1fae1bf8e3b1635a72a3731b5f/coder/coder/pull/29222
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c00ce31be6b8e9c6cca51fa5aff9bf5f5e2c0e1fae1bf8e3b1635a72a3731b5f/coder/coder/pull/29222
og:image:altThird of a seven-PR stack that restores the admin Spend page removed in #27330, rebuilt on the cost data AI Gateway already records. The stack lands the three database queries first (per-user spend...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameibetitsmike
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/29222#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29222
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29222
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/29222
Reloadhttps://github.com/coder/coder/pull/29222
Reloadhttps://github.com/coder/coder/pull/29222
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests468 (468)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
ibetitsmikehttps://github.com/ibetitsmike
mike/ai-spend-query-rollupshttps://github.com/coder/coder/tree/mike/ai-spend-query-rollups
mike/ai-spend-query-session-countshttps://github.com/coder/coder/tree/mike/ai-spend-query-session-counts
Conversationhttps://github.com/coder/coder/pull/29222
Commits3 (3)https://github.com/coder/coder/pull/29222/commits
Checkshttps://github.com/coder/coder/pull/29222/checks
Files changedhttps://github.com/coder/coder/pull/29222/files
feat(coderd/database): add AI spend session count queryhttps://github.com/coder/coder/pull/29222#top
ibetitsmikehttps://github.com/ibetitsmike
mike/ai-spend-query-rollupshttps://github.com/coder/coder/tree/mike/ai-spend-query-rollups
mike/ai-spend-query-session-countshttps://github.com/coder/coder/tree/mike/ai-spend-query-session-counts
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Sep 11, 2026https://github.com/coder/coder/pull/29222#issue-5422818466
Please reload this pagehttps://github.com/coder/coder/pull/29222
#27330https://github.com/coder/coder/pull/27330
#28964https://github.com/coder/coder/pull/28964
@ibetitsmikehttps://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/29222
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
ibetitsmikehttps://github.com/ibetitsmike
Sep 11, 2026https://github.com/coder/coder/pull/29222#event-30962872179
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
stack #29225https://github.com/coder/coder/stack/29225
September 11, 2026 09:46https://github.com/coder/coder/pull/29222#event-30963203160
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/b7aaecd825b04a10461d1bf34d4e6aacbc728e80..fb1a07e28d6910c5b2b48bf4d2aca4a735ebe2f8
b7aaecdhttps://github.com/coder/coder/commit/b7aaecd825b04a10461d1bf34d4e6aacbc728e80
fb1a07ehttps://github.com/coder/coder/commit/fb1a07e28d6910c5b2b48bf4d2aca4a735ebe2f8
Compare https://github.com/coder/coder/compare/b7aaecd825b04a10461d1bf34d4e6aacbc728e80..fb1a07e28d6910c5b2b48bf4d2aca4a735ebe2f8
September 11, 2026 10:01https://github.com/coder/coder/pull/29222#event-30964010681
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/d3535c650379e01a46156f313f09e763331596bc..a58258cf49fefabec03a3a6fc4b239e5ffa24f01
d3535c6https://github.com/coder/coder/commit/d3535c650379e01a46156f313f09e763331596bc
a58258chttps://github.com/coder/coder/commit/a58258cf49fefabec03a3a6fc4b239e5ffa24f01
Compare https://github.com/coder/coder/compare/d3535c650379e01a46156f313f09e763331596bc..a58258cf49fefabec03a3a6fc4b239e5ffa24f01
September 11, 2026 10:01https://github.com/coder/coder/pull/29222#event-30964011144
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
September 11, 2026 11:31https://github.com/coder/coder/pull/29222#event-30968446559
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Sep 11, 2026https://github.com/coder/coder/pull/29222#issuecomment-5633783704
Please reload this pagehttps://github.com/coder/coder/pull/29222
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/29222
ibetitsmikehttps://github.com/ibetitsmike
September 14, 2026 07:23https://github.com/coder/coder/pull/29222#commits-pushed-71dfc0c
https://github.com/ibetitsmike
feat(coderd/database): add AI spend user queryhttps://github.com/coder/coder/pull/29222/commits/71dfc0c9db810b23888faa1049f39274faebcc29
71dfc0chttps://github.com/coder/coder/pull/29222/commits/71dfc0c9db810b23888faa1049f39274faebcc29
https://github.com/ibetitsmike
feat(coderd/database): add AI spend rollups queryhttps://github.com/coder/coder/pull/29222/commits/65a933da893cb1442e2f7ca7b1e0200d026d5a7c
65a933dhttps://github.com/coder/coder/pull/29222/commits/65a933da893cb1442e2f7ca7b1e0200d026d5a7c
https://github.com/ibetitsmike
feat(coderd/database): add AI spend session count queryhttps://github.com/coder/coder/pull/29222/commits/11e7250449417a1186618783d46bdd926695eb8f
11e7250https://github.com/coder/coder/pull/29222/commits/11e7250449417a1186618783d46bdd926695eb8f
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/a58258cf49fefabec03a3a6fc4b239e5ffa24f01..65a933da893cb1442e2f7ca7b1e0200d026d5a7c
a58258chttps://github.com/coder/coder/commit/a58258cf49fefabec03a3a6fc4b239e5ffa24f01
65a933dhttps://github.com/coder/coder/commit/65a933da893cb1442e2f7ca7b1e0200d026d5a7c
Compare https://github.com/coder/coder/compare/a58258cf49fefabec03a3a6fc4b239e5ffa24f01..65a933da893cb1442e2f7ca7b1e0200d026d5a7c
September 14, 2026 08:03https://github.com/coder/coder/pull/29222#event-31085541267
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/fb1a07e28d6910c5b2b48bf4d2aca4a735ebe2f8..11e7250449417a1186618783d46bdd926695eb8f
fb1a07ehttps://github.com/coder/coder/commit/fb1a07e28d6910c5b2b48bf4d2aca4a735ebe2f8
11e7250https://github.com/coder/coder/commit/11e7250449417a1186618783d46bdd926695eb8f
Compare https://github.com/coder/coder/compare/fb1a07e28d6910c5b2b48bf4d2aca4a735ebe2f8..11e7250449417a1186618783d46bdd926695eb8f
September 14, 2026 08:03https://github.com/coder/coder/pull/29222#event-31085541820
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
ssncferreirahttps://github.com/ssncferreira
September 14, 2026 11:34https://github.com/coder/coder/pull/29222#event-31096693323
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
September 15, 2026 18:48https://github.com/coder/coder/pull/29222#event-31196306252
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
stack #29225https://github.com/coder/coder/stack/29225
September 15, 2026 18:49https://github.com/coder/coder/pull/29222#event-31196340473
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/65a933da893cb1442e2f7ca7b1e0200d026d5a7c..4e985015d3080f28f4f6753192af90c644b7ed51
65a933dhttps://github.com/coder/coder/commit/65a933da893cb1442e2f7ca7b1e0200d026d5a7c
4e98501https://github.com/coder/coder/commit/4e985015d3080f28f4f6753192af90c644b7ed51
Compare https://github.com/coder/coder/compare/65a933da893cb1442e2f7ca7b1e0200d026d5a7c..4e985015d3080f28f4f6753192af90c644b7ed51
September 15, 2026 18:51https://github.com/coder/coder/pull/29222#event-31196435982
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Sep 15, 2026https://github.com/coder/coder/pull/29222#issuecomment-5686239344
#29219https://github.com/coder/coder/pull/29219
#28964https://github.com/coder/coder/pull/28964
@ibetitsmikehttps://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/29222
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Sep 15, 2026https://github.com/coder/coder/pull/29222#event-31196492370
feat(coderd/database): add paginated organization AI spend user query #29219 https://github.com/coder/coder/pull/29219
feat: filter the organization AI spend export query by provider, model, and client #29220 https://github.com/coder/coder/pull/29220
feat: add organization AI spend report types and client methods #29223 https://github.com/coder/coder/pull/29223
feat: filter the organization AI spend export by provider, model, and client #29224 https://github.com/coder/coder/pull/29224
feat: list organization AI spend by user #29129 https://github.com/coder/coder/pull/29129
feat: route and link the User spend page for its viewers #28964 https://github.com/coder/coder/pull/28964
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Sep 30, 2026https://github.com/coder/coder/pull/29222#issuecomment-5914936774
CODAGT-1121https://linear.app/codercom/issue/CODAGT-1121
Please reload this pagehttps://github.com/coder/coder/pull/29222
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F29222
https://github.com/ssncferreira
ssncferreira https://github.com/ssncferreira
Please reload this pagehttps://github.com/coder/coder/pull/29222
https://github.com/ibetitsmike
ibetitsmike https://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/29222
https://github.com/ibetitsmike
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.