| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:01605ca3-1010-9d88-6a5c-5ef18bbbfc6f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E5C2:EA09B:23099F3:2E6E33E:6B018DAB |
| html-safe-nonce | 4955986abcd30d58c41e10b78716e8385b23083b533f1362bba3400dd19e6310 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUMyOkVBMDlCOjIzMDk5RjM6MkU2RTMzRTo2QjAxOERBQiIsInZpc2l0b3JfaWQiOiIyNzAyNzM4Mjg0NTQyNTI4OTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9148f2a28c145fefc9f29975b7ee515fc5a135482cda0df814c680f2ec3c364a |
| hovercard-subject-tag | pull_request:3723387795 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coder/coder/pull/25565/files |
| twitter:image | https://avatars.githubusercontent.com/u/87020025?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/87020025?s=400&v=4 |
| og:image:alt | Adds create, list and delete endpoints for AI Gateway keys used to authenticate into Coderd.
All endpoints require Owner permission. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/coder/coder/pull/25565/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F25565%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F25565%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/25565/files |
| Reload | https://github.com/coder/coder/pull/25565/files |
| Reload | https://github.com/coder/coder/pull/25565/files |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests470 (470) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| pawbana | https://github.com/pawbana |
| main | https://github.com/coder/coder/tree/main |
| pb/gateway-multi-replica-key-auth-endpoints | https://github.com/coder/coder/tree/pb/gateway-multi-replica-key-auth-endpoints |
|
Conversation
71
| https://github.com/coder/coder/pull/25565 |
|
Commits
10
| https://github.com/coder/coder/pull/25565/commits |
|
Checks
35
| https://github.com/coder/coder/pull/25565/checks |
|
Files changed
| https://github.com/coder/coder/pull/25565/files |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
|
feat: add AI Gateway coderd key CRUD endpoints
| https://github.com/coder/coder/pull/25565/files#top |
|
Show all changes
10 commits
| https://github.com/coder/coder/pull/25565/files |
|
af0cc8d
feat: add AI Gateway coderd key CRUD endpoints
pawbana May 20, 2026
| https://github.com/coder/coder/pull/25565/commits/af0cc8d61adc8a1ce7e50202dc0771c9b6271509 |
|
ef7d4e7
agentic review fixes
pawbana May 22, 2026
| https://github.com/coder/coder/pull/25565/commits/ef7d4e78df714d2f168c802692a9597a9a88a117 |
|
1b73464
agentic review 2
pawbana May 22, 2026
| https://github.com/coder/coder/pull/25565/commits/1b734644c8f96f1c2733bd599449066fea5c5053 |
|
f4042fe
ai_gateway_coderd_key -> ai_gateway_keys table rename
pawbana May 29, 2026
| https://github.com/coder/coder/pull/25565/commits/f4042fec966855ccb1d8a7c042de0b5a27ce1c5b |
|
8840cef
agentic review 3 + make gen diff
pawbana Jun 2, 2026
| https://github.com/coder/coder/pull/25565/commits/8840cefa1f6c62c42ceca21a2469ecb4d3aafc0d |
|
159e425
TestEnterpriseEndpointsDocumented fix
pawbana Jun 2, 2026
| https://github.com/coder/coder/pull/25565/commits/159e425911baf2984147b8e00b092fb033c126ed |
|
2f6ac7f
fix flaky TestAIGatewayKeysTableConstraints
pawbana Jun 2, 2026
| https://github.com/coder/coder/pull/25565/commits/2f6ac7f37e935bde74d1cb3892ad3d6a703a1bf9 |
|
4050bc2
human edit mostly nits
pawbana Jun 2, 2026
| https://github.com/coder/coder/pull/25565/commits/4050bc2d13004e09712cd798307ad504575718f3 |
|
9f39eed
human review 1
pawbana Jun 3, 2026
| https://github.com/coder/coder/pull/25565/commits/9f39eed90038d83c52ea415dedb87ff00eed552a |
|
5169922
human review 2
pawbana Jun 3, 2026
| https://github.com/coder/coder/pull/25565/commits/51699228f9183165ee5c938b644a3006b8005c33 |
|
Clear filters
| https://github.com/coder/coder/pull/25565/files |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
|
keys.go
| https://github.com/coder/coder/pull/25565/files#diff-a7e632b2af748c206f3ab9a9b0bd7f891a100460572a47df65cdde7811d2720c |
|
keys_test.go
| https://github.com/coder/coder/pull/25565/files#diff-22e5fea751f887fa3bc3af4b4fd2f35cff06bbf0eed4773404dacc0c4dbdae37 |
|
docs.go
| https://github.com/coder/coder/pull/25565/files#diff-62ac3890066a69746687795ab05779ba2ddf1f4027cf2448425af7728c8da7b4 |
|
swagger.json
| https://github.com/coder/coder/pull/25565/files#diff-f7851d516b0d2ef3ed1f6bbdd199cd120f502761c6f2c2a472bd9ef2bc302d72 |
|
querier_test.go
| https://github.com/coder/coder/pull/25565/files#diff-e13ad743f9f1f9497c5baef54782ac6ff18a256f13cc916024ea8f1f91297740 |
|
aigatewaykeys.go
| https://github.com/coder/coder/pull/25565/files#diff-649ec8d91d1499bbd592e4776c9ec45abe2d7088f02375a541b7eca0f906112b |
|
enterprise.md
| https://github.com/coder/coder/pull/25565/files#diff-b27c921c256b93fc529c8cde9a4cf56cfa94cf9a6fc8279db55ff77188829757 |
|
schemas.md
| https://github.com/coder/coder/pull/25565/files#diff-ea04dba9d1a3734ec0dcd3082f03ce87d32a417e47144882531d15dea6fd341d |
|
aigatewaykeys.go
| https://github.com/coder/coder/pull/25565/files#diff-7c4ec5d59e2583aa8fb406eb00c979bfe34f5926b90c0eb0323fb41b24db8948 |
|
aigatewaykeys_test.go
| https://github.com/coder/coder/pull/25565/files#diff-b22f48c7149d963eca650f401700cfd05d239a1a32aa919ab02b1b9e53d591b4 |
|
coderd.go
| https://github.com/coder/coder/pull/25565/files#diff-825bb7ea00a8dbe478aa6c0da271ef5ca7a62bf7d21fdc2889352b66e95ac46f |
|
typesGenerated.ts
| https://github.com/coder/coder/pull/25565/files#diff-0db594bd57651eba54a837eab00864ea5f931dfdf058eb3dc3b9e2e211fa6e7a |
| coderd/aibridge/keys/keys.go | https://github.com/coder/coder/pull/25565/files#diff-a7e632b2af748c206f3ab9a9b0bd7f891a100460572a47df65cdde7811d2720c |
|
View file
| https://github.com/coder/coder/blob/51699228f9183165ee5c938b644a3006b8005c33/coderd/aibridge/keys/keys.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/25565/{{ revealButtonHref }} |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
| coderd/aibridge/keys/keys_test.go | https://github.com/coder/coder/pull/25565/files#diff-22e5fea751f887fa3bc3af4b4fd2f35cff06bbf0eed4773404dacc0c4dbdae37 |
|
View file
| https://github.com/coder/coder/blob/51699228f9183165ee5c938b644a3006b8005c33/coderd/aibridge/keys/keys_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/25565/{{ revealButtonHref }} |
| coderd/apidoc/docs.go | https://github.com/coder/coder/pull/25565/files#diff-62ac3890066a69746687795ab05779ba2ddf1f4027cf2448425af7728c8da7b4 |
|
View file
| https://github.com/coder/coder/blob/51699228f9183165ee5c938b644a3006b8005c33/coderd/apidoc/docs.go |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
| coderd/apidoc/swagger.json | https://github.com/coder/coder/pull/25565/files#diff-f7851d516b0d2ef3ed1f6bbdd199cd120f502761c6f2c2a472bd9ef2bc302d72 |
|
View file
| https://github.com/coder/coder/blob/51699228f9183165ee5c938b644a3006b8005c33/coderd/apidoc/swagger.json |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
| Please reload this page | https://github.com/coder/coder/pull/25565/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |