[LIVE] [ryuhaneul/cc-executor-docker] 1 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,137 characters
Status: [LIVE]
Endpoints found:
https://console.anthropic.com/v1/oauth/token`
Source: https://github.com/ryuhaneul/cc-executor-docker
# cc-executor-docker
OpenAI-compatible API proxy for Claude Code CLI and OpenAI Codex CLI. Wraps
`claude --print` and `codex exec` in a Docker container with Bearer token
authentication.
For web integrations such as vod-clip, see
`docs/web-login-integration.md` for the shared Claude Code and Codex browser
login handoff. Headless or single-user deployments may still use CLI-prepared
auth or API-key fallback where supported.
## Endpoints
| Method | Path | Auth | Description |
|--------|------|------|-------------|
| POST | `/v1/chat/completions` | Bearer | OpenAI-compatible chat completions |
| GET | `/v1/models` | Bearer | List available models |
| GET | `/health` | None | Health check |
| GET | `/admin/status` | Bearer | Proxy `claude auth status` → `{loggedIn, authMethod, apiProvider}` |
| GET | `/admin/codex/status` | Bearer | Codex auth status → `{loggedIn, authMethod, codexHome, cliAvailable}` |
| POST | `/admin/oauth/start` | Bearer | Begin an OAuth 2.0 + PKCE login. Returns `{session_id, url}` — open the URL in a browser, approve, copy the resulting `code#state` blob. |
| POST | `/admin/oauth/complete` | Bearer | Body `{session_id, code}`. Exchanges the code against Anthropic's token endpoint and writes the bundle to `/root/.claude/.credentials.json` (0600). |
| POST | `/admin/credentials` | Bearer | Manual fallback. Body `{credentials: {claudeAiOauth: {...}}}` — writes the bundle verbatim. Use when a valid `.credentials.json` already exists (e.g. produced by `claude auth login` on another machine). |
| POST | `/admin/logout` | Bearer | Run `claude auth logout` |
| DELETE | `/admin/config-dir` | Bearer | Delete one per-user local config directory selected by `X-Claude-Config-Dir`. This purges local credential/state files only; it does not revoke the remote Anthropic token. |
| POST | `/admin/codex/login/start` | Bearer | Begin Codex device login. Returns `{session_id, url, user_code}`. |
| POST | `/admin/codex/login/complete` | Bearer | Body `{sess