# GPROXY > Documentation for GPROXY, a self-hosted gateway for LLM APIs: installation, configuration, administration and internals. ## 概述 - [GPROXY](https://gproxy.leenhawk.com/zh-cn/index.md): GPROXY 是一个自行部署的大模型 API 网关,把多个上游服务放在同一个入口后面。 - [基本概念](https://gproxy.leenhawk.com/zh-cn/introduction/concepts.md): 请求在 GPROXY 中经过的各个环节、需要配置的对象,以及模型名和请求地址如何选定上游。 ## 安装与升级 - [下载与安装](https://gproxy.leenhawk.com/zh-cn/download.md): 下载适用于 Linux、Windows、macOS、Android 和 OpenHarmony 的 GPROXY,或拉取容器镜像。 - [Docker、Render 与 Heroku](https://gproxy.leenhawk.com/zh-cn/deployment/containers.md): 运行 GPROXY 容器镜像,或使用 PostgreSQL 部署到 Render、Heroku。 - [Cloudflare Workers、Netlify 与 Vercel](https://gproxy.leenhawk.com/zh-cn/deployment/edge.md): 在 Cloudflare Workers、Netlify 或 Vercel 上部署 GPROXY,连接数据库并登录。 ### 版本升级 - [从 v3 升级到 v4](https://gproxy.leenhawk.com/zh-cn/deployment/v3-to-v4.md): 备份 v3 部署,在原数据库上启动 v4,检查迁移结果,必要时回退。 - [从 v2 升级到 v4](https://gproxy.leenhawk.com/zh-cn/deployment/v2-to-v4.md): 用一个脚本离线迁移 v2 数据到 v4,源库和目标库均可为 SQLite、PostgreSQL 或 MySQL。 - [从 v2 升级到 v3](https://gproxy.leenhawk.com/zh-cn/deployment/v2-to-v3.md): 使用 v3.0.22 升级 v2 SQLite 数据库,检查结果,必要时恢复 v2。 ## 入门 - [快速开始](https://gproxy.leenhawk.com/zh-cn/getting-started/quick-start.md): 在控制台添加供应商和凭证,配置模型路由并发送第一个请求。 - [发送第一个请求](https://gproxy.leenhawk.com/zh-cn/getting-started/first-request.md): 使用 OpenAI、Claude 和 Gemini API 调用网关,启用流式响应并排查常见错误。 ## 管理指南 - [供应商与凭证](https://gproxy.leenhawk.com/zh-cn/guides/providers.md): 选择渠道、添加供应商与凭证,配置登录、额度查询和连接选项。 - [模型与路由](https://gproxy.leenhawk.com/zh-cn/guides/models.md): 客户端的模型名如何解析到一个供应商和一把凭证:三种形式、路由与成员、namespace 与模型目录。 - [用户与 API Key](https://gproxy.leenhawk.com/zh-cn/guides/users-and-keys.md): 创建用户、分配管理范围,签发和轮换网关 API Key。 - [权限、限流与费用预算](https://gproxy.leenhawk.com/zh-cn/guides/permissions.md): 配置访问规则、请求限制和费用预算,区分本地限制与上游额度。 - [重写规则与协议覆盖](https://gproxy.leenhawk.com/zh-cn/guides/rules.md): 设置提示词、缓存断点、JSON 与文本重写,以及上游协议和端点。 - [提示缓存](https://gproxy.leenhawk.com/zh-cn/guides/claude-caching.md): 通过缓存断点规则或魔法字符串配置提示缓存,查看用量与计价。 - [CLI 客户端](https://gproxy.leenhawk.com/zh-cn/guides/cli-clients.md): 把 Codex CLI 和 Claude Code 指向 GPROXY:厂商服务路由、x-gproxy-view 请求头、本实例运行的 OAuth 授权服务器,以及会话亲和性。 - [控制台](https://gproxy.leenhawk.com/zh-cn/guides/console.md): 使用 GPROXY Web 控制台:首次启动、语言、管理范围、页面、凭证与上游登录、预算与限额、价格、配置导入导出、字体以及构建控制台。 - [用量、日志与审计](https://gproxy.leenhawk.com/zh-cn/guides/observability.md): 查看费用、上下游请求、抓包与配置变更记录。 ## 参考 - [配置](https://gproxy.leenhawk.com/zh-cn/reference/configuration.md): CLI 配置来源、环境变量、主密钥、首次初始化与运行时设置。 - [配置结构](https://gproxy.leenhawk.com/zh-cn/reference/configuration-schema.md): 从 Rust AppConfig 类型生成的配置字段、变体和默认值。 - [路由与端点](https://gproxy.leenhawk.com/zh-cn/reference/routing-table.md): v4 完整的入站表、挂载点语法、OAuth 与管理路由、WebSocket surface、解析与失败转移预算。 - [价格与分层](https://gproxy.leenhawk.com/zh-cn/reference/pricing.md): GPROXY 如何为一次交换计价:规则选择、费率行与条件、上下文档位与服务档位、费用预算,以及上游未报告用量时的 token 估算。 - [存储与缓存后端](https://gproxy.leenhawk.com/zh-cn/reference/database.md): 数据库后端及其选择、表结构同步、精确金额、缓存及何时需要共享缓存、多实例间的配置同步、文件存储与备份。 - [渠道能力目录](https://gproxy.leenhawk.com/zh-cn/reference/channel-catalog.md): 从 Rust 导出的渠道能力、登录方式、配置项及厂商服务路由。 - [HTTP API 参考](https://gproxy.leenhawk.com/zh-cn/reference/http-api.md): 转发、管理、用户门户和 OAuth API 的完整请求、响应与事件结构。 ## 开发 - [架构](https://gproxy.leenhawk.com/zh-cn/development/architecture.md): GPROXY v4 源码的组织方式:sdk、app、host 三层,workspace 中的各个 crate,请求的处理流程,失败转移,配置同步,结算,以及 WebAssembly 构建。 - [嵌入 SDK](https://gproxy.leenhawk.com/zh-cn/development/embedding.md): 在 Rust 程序中通过 gproxy-sdk crate 运行 GPROXY 网关:装配、feature、调用、登录、管理写入、查询、同步与 TypeScript 类型导出。 - [新增渠道](https://gproxy.leenhawk.com/zh-cn/development/adding-a-channel.md): v4 渠道的结构:BaseChannel 契约、可选能力 trait、从 Cargo feature 到完成注册的步骤,以及如何在本仓库之外发布渠道。 - [从源码构建](https://gproxy.leenhawk.com/zh-cn/development/building.md): 从源码构建 GPROXY v4 的各个目标(带或不带控制台的 CLI、桌面与移动端应用、Worker),运行 CI 执行的检查,以及发布版本。 ## HTTP API ### OAuth - [GET /.well-known/oauth-authorization-server/v1](https://gproxy.leenhawk.com/api-reference/oauth/get-well-knownoauth-authorization-serverv1.md) - [GET /.well-known/oauth-authorization-server/{mount}/v1](https://gproxy.leenhawk.com/api-reference/oauth/get-well-knownoauth-authorization-server-v1.md) - [GET /v1/.well-known/oauth-authorization-server](https://gproxy.leenhawk.com/api-reference/oauth/get-v1well-knownoauth-authorization-server.md) - [GET /v1/oauth/authorize](https://gproxy.leenhawk.com/api-reference/oauth/get-v1oauthauthorize.md): Accept: text/html redirects to consent without authentication. JSON details require a console session or management API key. - [POST /v1/oauth/authorize](https://gproxy.leenhawk.com/api-reference/oauth/post-v1oauthauthorize.md) - [POST /v1/oauth/device/code](https://gproxy.leenhawk.com/api-reference/oauth/post-v1oauthdevicecode.md) - [GET /v1/oauth/metadata](https://gproxy.leenhawk.com/api-reference/oauth/get-v1oauthmetadata.md) - [POST /v1/oauth/revoke](https://gproxy.leenhawk.com/api-reference/oauth/post-v1oauthrevoke.md) - [POST /v1/oauth/token](https://gproxy.leenhawk.com/api-reference/oauth/post-v1oauthtoken.md) ### Management - [GET /admin/api/api-keys](https://gproxy.leenhawk.com/api-reference/management/get-adminapiapi-keys.md) - [POST /admin/api/api-keys](https://gproxy.leenhawk.com/api-reference/management/post-adminapiapi-keys.md) - [POST /admin/api/api-keys/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiapi-keysbatch.md) - [GET /admin/api/api-keys/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiapi-keys-1.md) - [DELETE /admin/api/api-keys/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiapi-keys.md) - [PATCH /admin/api/api-keys/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiapi-keys.md) - [POST /admin/api/api-keys/{id}/rotate](https://gproxy.leenhawk.com/api-reference/management/post-adminapiapi-keys-rotate.md) - [GET /admin/api/api-keys/{id}/secret](https://gproxy.leenhawk.com/api-reference/management/get-adminapiapi-keys-secret.md) - [GET /admin/api/audit](https://gproxy.leenhawk.com/api-reference/management/get-adminapiaudit.md) - [GET /admin/api/channels](https://gproxy.leenhawk.com/api-reference/management/get-adminapichannels.md) - [GET /admin/api/connection-profiles](https://gproxy.leenhawk.com/api-reference/management/get-adminapiconnection-profiles.md) - [POST /admin/api/connection-profiles](https://gproxy.leenhawk.com/api-reference/management/post-adminapiconnection-profiles.md) - [POST /admin/api/connection-profiles/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiconnection-profilesbatch.md) - [GET /admin/api/connection-profiles/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiconnection-profiles-1.md) - [DELETE /admin/api/connection-profiles/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiconnection-profiles.md) - [PATCH /admin/api/connection-profiles/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiconnection-profiles.md) - [POST /admin/api/connectivity/test](https://gproxy.leenhawk.com/api-reference/management/post-adminapiconnectivitytest.md) - [GET /admin/api/context](https://gproxy.leenhawk.com/api-reference/management/get-adminapicontext.md) - [POST /admin/api/credential-login/authcode/complete](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredential-loginauthcodecomplete.md) - [POST /admin/api/credential-login/authcode/start](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredential-loginauthcodestart.md) - [POST /admin/api/credential-login/device/poll](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredential-logindevicepoll.md) - [POST /admin/api/credential-login/device/start](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredential-logindevicestart.md) - [GET /admin/api/credentials](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials.md) - [POST /admin/api/credentials](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials.md) - [POST /admin/api/credentials/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentialsbatch.md) - [GET /admin/api/credentials/owners](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentialsowners.md) - [GET /admin/api/credentials/providers](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentialsproviders.md) - [GET /admin/api/credentials/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials-1.md) - [DELETE /admin/api/credentials/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapicredentials.md) - [PATCH /admin/api/credentials/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapicredentials.md) - [POST /admin/api/credentials/{id}/health-reset](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-health-reset.md) - [GET /admin/api/credentials/{id}/limits](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials-limits.md) - [POST /admin/api/credentials/{id}/models/discover](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-modelsdiscover.md) - [POST /admin/api/credentials/{id}/models/test](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-modelstest.md) - [GET /admin/api/credentials/{id}/quota](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials-quota.md) - [POST /admin/api/credentials/{id}/quota-diagnostics](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-quota-diagnostics.md) - [GET /admin/api/credentials/{id}/quota-observations](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials-quota-observations.md) - [POST /admin/api/credentials/{id}/quota-probe](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-quota-probe.md) - [POST /admin/api/credentials/{id}/quota-reset](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-quota-reset.md) - [GET /admin/api/credentials/{id}/quota-reset-credits](https://gproxy.leenhawk.com/api-reference/management/get-adminapicredentials-quota-reset-credits.md) - [POST /admin/api/credentials/{id}/refresh](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-refresh.md) - [POST /admin/api/credentials/{id}/reveal](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-reveal.md) - [POST /admin/api/credentials/{id}/status](https://gproxy.leenhawk.com/api-reference/management/post-adminapicredentials-status.md) - [GET /admin/api/default-model-catalog](https://gproxy.leenhawk.com/api-reference/management/get-adminapidefault-model-catalog.md) - [POST /admin/api/default-model-catalog/apply-prices](https://gproxy.leenhawk.com/api-reference/management/post-adminapidefault-model-catalogapply-prices.md) - [POST /admin/api/export](https://gproxy.leenhawk.com/api-reference/management/post-adminapiexport.md) - [GET /admin/api/fonts](https://gproxy.leenhawk.com/api-reference/management/get-adminapifonts.md) - [POST /admin/api/fonts](https://gproxy.leenhawk.com/api-reference/management/post-adminapifonts.md) - [DELETE /admin/api/fonts](https://gproxy.leenhawk.com/api-reference/management/delete-adminapifonts.md) - [POST /admin/api/import](https://gproxy.leenhawk.com/api-reference/management/post-adminapiimport.md) - [GET /admin/api/logs/captures/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapilogscaptures.md) - [GET /admin/api/logs/downstream](https://gproxy.leenhawk.com/api-reference/management/get-adminapilogsdownstream.md) - [DELETE /admin/api/logs/downstream](https://gproxy.leenhawk.com/api-reference/management/delete-adminapilogsdownstream.md) - [POST /admin/api/logs/downstream/delete](https://gproxy.leenhawk.com/api-reference/management/post-adminapilogsdownstreamdelete.md) - [GET /admin/api/logs/downstream/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapilogsdownstream-1.md) - [GET /admin/api/logs/upstream](https://gproxy.leenhawk.com/api-reference/management/get-adminapilogsupstream.md) - [DELETE /admin/api/logs/upstream](https://gproxy.leenhawk.com/api-reference/management/delete-adminapilogsupstream.md) - [POST /admin/api/logs/upstream/delete](https://gproxy.leenhawk.com/api-reference/management/post-adminapilogsupstreamdelete.md) - [GET /admin/api/model-names](https://gproxy.leenhawk.com/api-reference/management/get-adminapimodel-names.md) - [GET /admin/api/models](https://gproxy.leenhawk.com/api-reference/management/get-adminapimodels.md) - [POST /admin/api/models](https://gproxy.leenhawk.com/api-reference/management/post-adminapimodels.md) - [POST /admin/api/models/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapimodelsbatch.md) - [POST /admin/api/models/discover](https://gproxy.leenhawk.com/api-reference/management/post-adminapimodelsdiscover.md) - [POST /admin/api/models/discover/apply](https://gproxy.leenhawk.com/api-reference/management/post-adminapimodelsdiscoverapply.md) - [POST /admin/api/models/test](https://gproxy.leenhawk.com/api-reference/management/post-adminapimodelstest.md) - [GET /admin/api/models/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapimodels-1.md) - [DELETE /admin/api/models/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapimodels.md) - [PATCH /admin/api/models/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapimodels.md) - [GET /admin/api/oauth-clients](https://gproxy.leenhawk.com/api-reference/management/get-adminapioauth-clients.md) - [POST /admin/api/oauth-clients](https://gproxy.leenhawk.com/api-reference/management/post-adminapioauth-clients.md) - [POST /admin/api/oauth-clients/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapioauth-clientsbatch.md) - [GET /admin/api/oauth-clients/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapioauth-clients-1.md) - [PATCH /admin/api/oauth-clients/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapioauth-clients.md) - [POST /admin/api/oauth-clients/{id}/retire](https://gproxy.leenhawk.com/api-reference/management/post-adminapioauth-clients-retire.md) - [GET /admin/api/operation-endpoints](https://gproxy.leenhawk.com/api-reference/management/get-adminapioperation-endpoints.md) - [POST /admin/api/operation-endpoints](https://gproxy.leenhawk.com/api-reference/management/post-adminapioperation-endpoints.md) - [POST /admin/api/operation-endpoints/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapioperation-endpointsbatch.md) - [GET /admin/api/operation-endpoints/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapioperation-endpoints-1.md) - [DELETE /admin/api/operation-endpoints/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapioperation-endpoints.md) - [PATCH /admin/api/operation-endpoints/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapioperation-endpoints.md) - [GET /admin/api/operation-keys](https://gproxy.leenhawk.com/api-reference/management/get-adminapioperation-keys.md) - [GET /admin/api/operation-rules](https://gproxy.leenhawk.com/api-reference/management/get-adminapioperation-rules.md) - [POST /admin/api/operation-rules](https://gproxy.leenhawk.com/api-reference/management/post-adminapioperation-rules.md) - [POST /admin/api/operation-rules/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapioperation-rulesbatch.md) - [GET /admin/api/operation-rules/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapioperation-rules-1.md) - [DELETE /admin/api/operation-rules/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapioperation-rules.md) - [PATCH /admin/api/operation-rules/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapioperation-rules.md) - [GET /admin/api/organizations](https://gproxy.leenhawk.com/api-reference/management/get-adminapiorganizations.md) - [POST /admin/api/organizations](https://gproxy.leenhawk.com/api-reference/management/post-adminapiorganizations.md) - [POST /admin/api/organizations/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiorganizationsbatch.md) - [GET /admin/api/organizations/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiorganizations-1.md) - [DELETE /admin/api/organizations/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiorganizations.md) - [PATCH /admin/api/organizations/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiorganizations.md) - [GET /admin/api/organizations/{id}/members](https://gproxy.leenhawk.com/api-reference/management/get-adminapiorganizations-members.md) - [POST /admin/api/organizations/{id}/members](https://gproxy.leenhawk.com/api-reference/management/post-adminapiorganizations-members.md) - [GET /admin/api/organizations/{id}/members/{user_id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiorganizations-members-1.md) - [PUT /admin/api/organizations/{id}/members/{user_id}](https://gproxy.leenhawk.com/api-reference/management/put-adminapiorganizations-members.md) - [DELETE /admin/api/organizations/{id}/members/{user_id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiorganizations-members.md) - [GET /admin/api/permissions](https://gproxy.leenhawk.com/api-reference/management/get-adminapipermissions.md) - [POST /admin/api/permissions](https://gproxy.leenhawk.com/api-reference/management/post-adminapipermissions.md) - [POST /admin/api/permissions/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapipermissionsbatch.md) - [GET /admin/api/permissions/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapipermissions-1.md) - [DELETE /admin/api/permissions/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapipermissions.md) - [PATCH /admin/api/permissions/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapipermissions.md) - [GET /admin/api/price-rates](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprice-rates.md) - [POST /admin/api/price-rates](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprice-rates.md) - [POST /admin/api/price-rates/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprice-ratesbatch.md) - [GET /admin/api/price-rates/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprice-rates-1.md) - [DELETE /admin/api/price-rates/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiprice-rates.md) - [PATCH /admin/api/price-rates/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiprice-rates.md) - [GET /admin/api/price-rules](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprice-rules.md) - [POST /admin/api/price-rules](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprice-rules.md) - [POST /admin/api/price-rules/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprice-rulesbatch.md) - [GET /admin/api/price-rules/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprice-rules-1.md) - [DELETE /admin/api/price-rules/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiprice-rules.md) - [PATCH /admin/api/price-rules/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiprice-rules.md) - [GET /admin/api/price-tiers](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprice-tiers.md) - [POST /admin/api/price-tiers](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprice-tiers.md) - [POST /admin/api/price-tiers/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprice-tiersbatch.md) - [GET /admin/api/price-tiers/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprice-tiers-1.md) - [DELETE /admin/api/price-tiers/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiprice-tiers.md) - [PATCH /admin/api/price-tiers/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiprice-tiers.md) - [GET /admin/api/provider-models](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-models.md) - [POST /admin/api/provider-models](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprovider-models.md) - [POST /admin/api/provider-models/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprovider-modelsbatch.md) - [GET /admin/api/provider-models/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-models-1.md) - [DELETE /admin/api/provider-models/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiprovider-models.md) - [PATCH /admin/api/provider-models/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiprovider-models.md) - [GET /admin/api/provider-rule-sets](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-rule-sets.md) - [POST /admin/api/provider-rule-sets](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprovider-rule-sets.md) - [POST /admin/api/provider-rule-sets/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprovider-rule-setsbatch.md) - [GET /admin/api/provider-rule-sets/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiprovider-rule-sets-1.md) - [DELETE /admin/api/provider-rule-sets/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiprovider-rule-sets.md) - [PATCH /admin/api/provider-rule-sets/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiprovider-rule-sets.md) - [GET /admin/api/providers](https://gproxy.leenhawk.com/api-reference/management/get-adminapiproviders.md) - [POST /admin/api/providers](https://gproxy.leenhawk.com/api-reference/management/post-adminapiproviders.md) - [POST /admin/api/providers/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiprovidersbatch.md) - [GET /admin/api/providers/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiproviders-1.md) - [DELETE /admin/api/providers/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiproviders.md) - [PATCH /admin/api/providers/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiproviders.md) - [POST /admin/api/providers/{id}/default-rule-set](https://gproxy.leenhawk.com/api-reference/management/post-adminapiproviders-default-rule-set.md) - [GET /admin/api/providers/{id}/routing](https://gproxy.leenhawk.com/api-reference/management/get-adminapiproviders-routing.md) - [POST /admin/api/providers/{id}/routing-defaults/reset](https://gproxy.leenhawk.com/api-reference/management/post-adminapiproviders-routing-defaultsreset.md) - [PUT /admin/api/providers/{id}/routing/{operation}/{dialect}](https://gproxy.leenhawk.com/api-reference/management/put-adminapiproviders-routing-.md) - [DELETE /admin/api/providers/{id}/routing/{operation}/{dialect}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiproviders-routing-.md) - [GET /admin/api/quotas](https://gproxy.leenhawk.com/api-reference/management/get-adminapiquotas.md) - [POST /admin/api/quotas](https://gproxy.leenhawk.com/api-reference/management/post-adminapiquotas.md) - [POST /admin/api/quotas/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiquotasbatch.md) - [GET /admin/api/quotas/status](https://gproxy.leenhawk.com/api-reference/management/get-adminapiquotasstatus.md) - [GET /admin/api/quotas/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiquotas-1.md) - [DELETE /admin/api/quotas/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiquotas.md) - [PATCH /admin/api/quotas/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiquotas.md) - [POST /admin/api/quotas/{id}/limit-reset](https://gproxy.leenhawk.com/api-reference/management/post-adminapiquotas-limit-reset.md) - [POST /admin/api/quotas/{id}/reset](https://gproxy.leenhawk.com/api-reference/management/post-adminapiquotas-reset.md) - [GET /admin/api/rate-limits](https://gproxy.leenhawk.com/api-reference/management/get-adminapirate-limits.md) - [POST /admin/api/rate-limits](https://gproxy.leenhawk.com/api-reference/management/post-adminapirate-limits.md) - [POST /admin/api/rate-limits/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapirate-limitsbatch.md) - [GET /admin/api/rate-limits/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapirate-limits-1.md) - [DELETE /admin/api/rate-limits/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapirate-limits.md) - [PATCH /admin/api/rate-limits/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapirate-limits.md) - [GET /admin/api/route-members](https://gproxy.leenhawk.com/api-reference/management/get-adminapiroute-members.md) - [POST /admin/api/route-members](https://gproxy.leenhawk.com/api-reference/management/post-adminapiroute-members.md) - [POST /admin/api/route-members/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiroute-membersbatch.md) - [GET /admin/api/route-members/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiroute-members-1.md) - [DELETE /admin/api/route-members/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiroute-members.md) - [PATCH /admin/api/route-members/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiroute-members.md) - [GET /admin/api/routes](https://gproxy.leenhawk.com/api-reference/management/get-adminapiroutes.md) - [POST /admin/api/routes](https://gproxy.leenhawk.com/api-reference/management/post-adminapiroutes.md) - [POST /admin/api/routes/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiroutesbatch.md) - [GET /admin/api/routes/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiroutes-1.md) - [DELETE /admin/api/routes/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiroutes.md) - [PATCH /admin/api/routes/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiroutes.md) - [GET /admin/api/rule-presets](https://gproxy.leenhawk.com/api-reference/management/get-adminapirule-presets.md) - [GET /admin/api/rule-sets](https://gproxy.leenhawk.com/api-reference/management/get-adminapirule-sets.md) - [POST /admin/api/rule-sets](https://gproxy.leenhawk.com/api-reference/management/post-adminapirule-sets.md) - [POST /admin/api/rule-sets/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapirule-setsbatch.md) - [GET /admin/api/rule-sets/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapirule-sets-1.md) - [DELETE /admin/api/rule-sets/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapirule-sets.md) - [PATCH /admin/api/rule-sets/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapirule-sets.md) - [POST /admin/api/rule-sets/{id}/rule-presets/{preset}](https://gproxy.leenhawk.com/api-reference/management/post-adminapirule-sets-rule-presets.md) - [PUT /admin/api/rule-sets/{id}/rules](https://gproxy.leenhawk.com/api-reference/management/put-adminapirule-sets-rules.md) - [GET /admin/api/rules](https://gproxy.leenhawk.com/api-reference/management/get-adminapirules.md) - [POST /admin/api/rules](https://gproxy.leenhawk.com/api-reference/management/post-adminapirules.md) - [POST /admin/api/rules/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapirulesbatch.md) - [GET /admin/api/rules/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapirules-1.md) - [DELETE /admin/api/rules/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapirules.md) - [PATCH /admin/api/rules/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapirules.md) - [GET /admin/api/session](https://gproxy.leenhawk.com/api-reference/management/get-adminapisession.md) - [DELETE /admin/api/session](https://gproxy.leenhawk.com/api-reference/management/delete-adminapisession.md) - [GET /admin/api/sessions](https://gproxy.leenhawk.com/api-reference/management/get-adminapisessions.md) - [DELETE /admin/api/sessions/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapisessions.md) - [GET /admin/api/settings](https://gproxy.leenhawk.com/api-reference/management/get-adminapisettings.md) - [PATCH /admin/api/settings](https://gproxy.leenhawk.com/api-reference/management/patch-adminapisettings.md) - [GET /admin/api/teams](https://gproxy.leenhawk.com/api-reference/management/get-adminapiteams.md) - [POST /admin/api/teams](https://gproxy.leenhawk.com/api-reference/management/post-adminapiteams.md) - [POST /admin/api/teams/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiteamsbatch.md) - [GET /admin/api/teams/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiteams-1.md) - [DELETE /admin/api/teams/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiteams.md) - [PATCH /admin/api/teams/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiteams.md) - [GET /admin/api/teams/{id}/members](https://gproxy.leenhawk.com/api-reference/management/get-adminapiteams-members.md) - [POST /admin/api/teams/{id}/members](https://gproxy.leenhawk.com/api-reference/management/post-adminapiteams-members.md) - [GET /admin/api/teams/{id}/members/{user_id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiteams-members-1.md) - [PUT /admin/api/teams/{id}/members/{user_id}](https://gproxy.leenhawk.com/api-reference/management/put-adminapiteams-members.md) - [DELETE /admin/api/teams/{id}/members/{user_id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiteams-members.md) - [GET /admin/api/tls-presets](https://gproxy.leenhawk.com/api-reference/management/get-adminapitls-presets.md) - [GET /admin/api/tokenizer-auth](https://gproxy.leenhawk.com/api-reference/management/get-adminapitokenizer-auth.md) - [PATCH /admin/api/tokenizer-auth](https://gproxy.leenhawk.com/api-reference/management/patch-adminapitokenizer-auth.md) - [POST /admin/api/tokenizer-auth/reveal](https://gproxy.leenhawk.com/api-reference/management/post-adminapitokenizer-authreveal.md) - [GET /admin/api/tokenizer-vocabs](https://gproxy.leenhawk.com/api-reference/management/get-adminapitokenizer-vocabs.md) - [POST /admin/api/tokenizer-vocabs](https://gproxy.leenhawk.com/api-reference/management/post-adminapitokenizer-vocabs.md) - [GET /admin/api/tokenizer-vocabs/progress](https://gproxy.leenhawk.com/api-reference/management/get-adminapitokenizer-vocabsprogress.md) - [DELETE /admin/api/tokenizer-vocabs/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapitokenizer-vocabs.md) - [GET /admin/api/update](https://gproxy.leenhawk.com/api-reference/management/get-adminapiupdate.md) - [GET /admin/api/update/announcements](https://gproxy.leenhawk.com/api-reference/management/get-adminapiupdateannouncements.md) - [POST /admin/api/update/apply](https://gproxy.leenhawk.com/api-reference/management/post-adminapiupdateapply.md) - [POST /admin/api/update/check](https://gproxy.leenhawk.com/api-reference/management/post-adminapiupdatecheck.md) - [GET /admin/api/update/progress](https://gproxy.leenhawk.com/api-reference/management/get-adminapiupdateprogress.md) - [POST /admin/api/update/rollback](https://gproxy.leenhawk.com/api-reference/management/post-adminapiupdaterollback.md) - [GET /admin/api/usage](https://gproxy.leenhawk.com/api-reference/management/get-adminapiusage.md) - [GET /admin/api/usage/records](https://gproxy.leenhawk.com/api-reference/management/get-adminapiusagerecords.md) - [DELETE /admin/api/usage/records](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiusagerecords.md) - [POST /admin/api/usage/records/delete](https://gproxy.leenhawk.com/api-reference/management/post-adminapiusagerecordsdelete.md) - [GET /admin/api/users](https://gproxy.leenhawk.com/api-reference/management/get-adminapiusers.md) - [POST /admin/api/users](https://gproxy.leenhawk.com/api-reference/management/post-adminapiusers.md) - [POST /admin/api/users/batch](https://gproxy.leenhawk.com/api-reference/management/post-adminapiusersbatch.md) - [GET /admin/api/users/{id}](https://gproxy.leenhawk.com/api-reference/management/get-adminapiusers-1.md) - [DELETE /admin/api/users/{id}](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiusers.md) - [PATCH /admin/api/users/{id}](https://gproxy.leenhawk.com/api-reference/management/patch-adminapiusers.md) - [PUT /admin/api/users/{id}/allowlist](https://gproxy.leenhawk.com/api-reference/management/put-adminapiusers-allowlist.md) - [POST /admin/api/users/{id}/password](https://gproxy.leenhawk.com/api-reference/management/post-adminapiusers-password.md) - [DELETE /admin/api/users/{id}/password](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiusers-password.md) - [GET /admin/api/users/{id}/sessions](https://gproxy.leenhawk.com/api-reference/management/get-adminapiusers-sessions.md) - [DELETE /admin/api/users/{id}/sessions](https://gproxy.leenhawk.com/api-reference/management/delete-adminapiusers-sessions.md) ### Forwarding - [POST /alpha/search](https://gproxy.leenhawk.com/api-reference/forwarding/post-alphasearch.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /upload/v1beta/files](https://gproxy.leenhawk.com/api-reference/forwarding/post-uploadv1betafiles.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/alpha/search](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1alphasearch.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/audio/speech](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1audiospeech.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/audio/transcriptions](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1audiotranscriptions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/audio/translations](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1audiotranslations.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/audio/voices](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1audiovoices.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/chat/completions](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1chatcompletions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/conversations](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1conversations.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/decisions](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1decisions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/embeddings](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1embeddings.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/files](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1files.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/files](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1files.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/files/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1files-1.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [DELETE /v1/files/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/delete-v1files.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/files/{id}/content](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1files-content.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/images/edits](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1imagesedits.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/images/generations](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1imagesgenerations.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/interactions](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1interactions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/interactions/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1interactions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [DELETE /v1/interactions/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/delete-v1interactions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/interactions/{id}/cancel](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1interactions-cancel.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/live](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1live.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/live](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1live.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/live/sessions](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1livesessions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/live/sessions](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1livesessions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/live/sessions/{session_id}/attach](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1livesessions-attach.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/live/sessions/{session_id}/hangup](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1livesessions-hangup.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/live/{call_id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1live-1.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/messages](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1messages.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/messages/count_tokens](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1messagescount_tokens.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/models](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1models.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/models/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1models-1.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/moderations](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1moderations.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/realtime](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1realtime.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/realtime/calls](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1realtimecalls.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/realtime/calls/{call_id}/hangup](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1realtimecalls-hangup.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/realtime/client_secrets](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1realtimeclient_secrets.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/rerank](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1rerank.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/responses](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1responses.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/responses](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1responses.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/responses/compact](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1responsescompact.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/responses/input_tokens](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1responsesinput_tokens.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/search](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1search.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/videos](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1videos.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1/videos](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1videos.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/videos/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1videos-1.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [DELETE /v1/videos/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/delete-v1videos.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1/videos/{id}/content](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1videos-content.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1beta/files](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1betafiles.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/files](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betafiles.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1beta/files/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1betafiles-1.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [DELETE /v1beta/files/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/delete-v1betafiles.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1beta/files/{id}:download](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1betafiles-:download.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/interactions](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betainteractions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1beta/interactions/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1betainteractions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [DELETE /v1beta/interactions/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/delete-v1betainteractions.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/interactions/{id}/cancel](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betainteractions-cancel.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1beta/models](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1betamodels.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /v1beta/models/{id}](https://gproxy.leenhawk.com/api-reference/forwarding/get-v1betamodels-1.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/models/{model}:batchEmbedContents](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betamodels-:batchembedcontents.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/models/{model}:countTokens](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betamodels-:counttokens.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/models/{model}:embedContent](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betamodels-:embedcontent.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/models/{model}:generateContent](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betamodels-:generatecontent.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [POST /v1beta/models/{model}:streamGenerateContent](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1betamodels-:streamgeneratecontent.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. - [GET /ws/google.ai.generativelanguage.v1beta.GenerativeService.BidiGenerateContent](https://gproxy.leenhawk.com/api-reference/forwarding/get-wsgoogleaigenerativelanguagev1betagenerativeservicebidigeneratecontent.md): Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins. ### System - [GET /healthz](https://gproxy.leenhawk.com/api-reference/system/get-healthz.md) - [GET /info](https://gproxy.leenhawk.com/api-reference/system/get-info.md) - [GET /publications/{id}](https://gproxy.leenhawk.com/api-reference/system/get-publications.md) - [GET /robots.txt](https://gproxy.leenhawk.com/api-reference/system/get-robotstxt.md) ### Portal - [GET /portal/api/context](https://gproxy.leenhawk.com/api-reference/portal/get-portalapicontext.md) - [GET /portal/api/keys](https://gproxy.leenhawk.com/api-reference/portal/get-portalapikeys.md) - [POST /portal/api/keys](https://gproxy.leenhawk.com/api-reference/portal/post-portalapikeys.md) - [DELETE /portal/api/keys/{id}](https://gproxy.leenhawk.com/api-reference/portal/delete-portalapikeys.md) - [POST /portal/api/keys/{id}/rotate](https://gproxy.leenhawk.com/api-reference/portal/post-portalapikeys-rotate.md) - [GET /portal/api/keys/{id}/secret](https://gproxy.leenhawk.com/api-reference/portal/get-portalapikeys-secret.md) - [POST /portal/api/login](https://gproxy.leenhawk.com/api-reference/portal/post-portalapilogin.md) - [POST /portal/api/logout](https://gproxy.leenhawk.com/api-reference/portal/post-portalapilogout.md) - [GET /portal/api/models](https://gproxy.leenhawk.com/api-reference/portal/get-portalapimodels.md) - [GET /portal/api/oauth-sessions](https://gproxy.leenhawk.com/api-reference/portal/get-portalapioauth-sessions.md) - [DELETE /portal/api/oauth-sessions/{id}](https://gproxy.leenhawk.com/api-reference/portal/delete-portalapioauth-sessions.md) - [GET /portal/api/oauth/device](https://gproxy.leenhawk.com/api-reference/portal/get-portalapioauthdevice.md) - [POST /portal/api/oauth/device](https://gproxy.leenhawk.com/api-reference/portal/post-portalapioauthdevice.md) - [POST /portal/api/password](https://gproxy.leenhawk.com/api-reference/portal/post-portalapipassword.md) - [GET /portal/api/quota](https://gproxy.leenhawk.com/api-reference/portal/get-portalapiquota.md) - [GET /portal/api/requests](https://gproxy.leenhawk.com/api-reference/portal/get-portalapirequests.md) - [GET /portal/api/sessions](https://gproxy.leenhawk.com/api-reference/portal/get-portalapisessions.md) - [GET /portal/api/usage](https://gproxy.leenhawk.com/api-reference/portal/get-portalapiusage.md) ### Codex provider - [POST /{provider}/v1/memories/trace_summarize](https://gproxy.leenhawk.com/api-reference/codex-provider/post-v1memoriestrace_summarize.md): Only available on a Codex provider mount. The provider parameter is the configured provider name. ## OpenAPI Specs - [openapi](/generated/openapi.json) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [English (361 pages)](https://gproxy.leenhawk.com/_llms/en.txt): Documentation for English. - [Traditional Chinese (361 pages)](https://gproxy.leenhawk.com/_llms/zh-tw.txt): Documentation for Traditional Chinese. - [Russian (361 pages)](https://gproxy.leenhawk.com/_llms/ru.txt): Documentation for Russian. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.