/v1/chat/completionsOpenAI Chat Completions
A familiar entry point for OpenAI-compatible SDKs, Chatbox clients, and automation.
ghc-api focuses on the real protocol gaps between code agents and the GitHub Copilot API while keeping transformations, streaming events, and usage inspectable.
Transparency does not mean doing nothing. ghc-api translates where required, avoids unnecessary rewrites when pass-through works, and retains evidence for diagnosis.
/v1/chat/completionsA familiar entry point for OpenAI-compatible SDKs, Chatbox clients, and automation.
/v1/messagesFamiliar message and streaming semantics for Claude Code and Anthropic SDKs.
/v1/responsesA compatible endpoint for Codex and clients built around the Responses API.
messages → responsesAdapt to Responses-only model backends with better tools, thinking, and context continuity.
Move from aggregate numbers into complete requests. Locate whether a problem comes from client formatting, compatibility translation, upstream behavior, or streaming.
Time, model, endpoint, client IP, status, duration, and transfer size.
Understand the original request and what was actually forwarded upstream.
Inspect request headers, response bodies, errors, and translated terminal state.
Retain upstream event order to diagnose interrupted streams and tool calls.
Full-text request search plus JSON Lines export and import.
Daily files, lightweight indexes, distributions, and exact request drill-down.
Debug data can be highly sensitive. Headers and bodies may contain tokens, source code, and conversation content. Keep the dashboard local or protect all administration pages with a reverse proxy.
Normalize usage from different protocols and understand it by model, endpoint, user, and machine.
Interact with models and code agents in the browser, manage sessions, tools, and configuration without deploying another administration stack.
Choose a model, stream conversations in the browser, and use Raw Mode to inspect responses.
Control Claude Code, Codex, and Copilot CLI through the Agent Client Protocol.
Create, resume, terminate, and browse sessions with work directories and message history.
Detect and help install the supporting Claude, Codex, and Copilot CLI tools.
View hashes and differences with timestamped backups before overwriting.
Sync sessions, token usage, and configuration across devices. Access starts disabled.
ghc-api is free and open source under the MIT License. It does not host, resell, or grant LLM access. Bring your own GitHub account with eligible GitHub Copilot access.