# codex2api

Codex2API 是一个基于 Go + Gin + React/Vite 的 Codex 反向代理与管理后台项目

Canonical page: https://www.reposhelf.co.uk/projects/github/james-6-23/codex2api.html

- Project ID: james-6-23/codex2api
- Source: GitHub
- Original project: https://github.com/james-6-23/codex2api
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Go
- Licence: No licence detected
- Repository availability checked: 2026-11-04T16:42:05.406Z
- Demo page loaded: 2026-11-12T13:17:52.132Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Turn a Codex account pool into an observable, schedulable, operations-ready OpenAI / Anthropic compatible gateway. Codex2API is not a thin forwarding proxy. It is a long-running Codex access hub: it exposes /v1/chat/completions, /v1/responses, /v1/messages, Images, Videos \(Grok Imagine\), and Models endpoints while managing Refresh Token / Access Token accounts, health scoring, dynamic concurrency, rate-limit recovery, usage tracking, and admin operations behind the scenes.



## Author-documented requirements and audience

> Turn a Codex account pool into an observable, schedulable, operations-ready OpenAI / Anthropic compatible gateway. Codex2API is not a thin forwarding proxy. It is a long-running Codex access hub: it exposes /v1/chat/completions, /v1/responses, /v1/messages, Images, Videos \(Grok Imagine\), and Models endpoints while managing Refresh Token / Access Token accounts, health scoring, dynamic concurrency, rate-limit recovery, usage tracking, and admin operations behind the scenes.



- External API key — Optional: Antigravity accounts are managed as a dedicated Google channel with browser/imported OAuth credentials and an optional Google API Key credential shape.
- External API key — Required: API Key requests target the Generative Language v1beta/interactions endpoint, but ordinary API-key dispatch is fail-closed by default and requires ANTIGRAVITYENABLEEXPERIMENTALINTERACTIONS=true.
- Account — Required: After login, the frontend sends X-Admin-Key when calling /api/admin/.

Not recorded: Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/james-6-23/codex2api/blob/main/README.md

Extraction checked: 2026-10-27T06:04:17.210Z

Last recorded source update: 2026-11-04T12:18:35.000Z

Saved release: v3.0.7 — 2026-10-05T07:43:04.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=james-6-23%2Fcodex2api). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
