{"code":"OK","message":"TotoClaw backend is ready","data":{"status":"ready","service":"totoclaw-backend","environment":"production","production":true,"time":"2026-07-17T14:09:19.523Z","config":{"publicBaseUrlConfigured":true,"cnGatewayBaseUrlConfigured":true,"globalGatewayBaseUrlConfigured":true,"upstreamConfigured":true,"mockGatewayAllowed":false,"platformGatewayTokenTtlSeconds":86400},"checks":[{"key":"databaseUrl","status":"ok","message":"DATABASE_URL 已配置"},{"key":"jwtSecret","status":"ok","message":"JWT_SECRET 需要使用 32 位以上随机密钥"},{"key":"adminBootstrapKey","status":"ok","message":"ADMIN_BOOTSTRAP_KEY 需要替换默认值并保持足够长度"},{"key":"corsOrigin","status":"ok","message":"CORS_ORIGIN 已限制来源"},{"key":"publicBaseUrl","status":"ok","message":"TOTOCLAW_PUBLIC_BASE_URL 已配置"},{"key":"cnGatewayBaseUrl","status":"ok","message":"TOTOCLAW_CN_GATEWAY_BASE_URL must be the fixed domestic OpenAI-compatible base URL"},{"key":"globalGatewayBaseUrl","status":"ok","message":"TOTOCLAW_GLOBAL_GATEWAY_BASE_URL must be the fixed overseas OpenAI-compatible base URL"},{"key":"gatewayOriginsDistinct","status":"ok","message":"CN and GLOBAL gateway origins are distinct"},{"key":"accountKeySecret","status":"ok","message":"TOTOCLAW_ACCOUNT_KEY_SECRET must be a stable random secret of at least 32 characters"},{"key":"internalServiceKey","status":"ok","message":"TOTOCLAW_INTERNAL_SERVICE_KEY must be a random service-to-service secret of at least 32 characters"},{"key":"platformGatewayTokenTtlSeconds","status":"ok","message":"TOTOCLAW_PLATFORM_TOKEN_TTL_SECONDS 应在 1 天到 90 天之间，默认 30 天并采用滑动续期"},{"key":"modelUpstream","status":"ok","message":"官方模型上游已配置，网关会转发 OpenAI 兼容接口并按 usage token 结算"},{"key":"databaseConnection","status":"ok","message":"数据库连接正常"},{"key":"platformModels","status":"ok","message":"平台模型可供客户端使用","data":{"total":10,"clientVisible":9,"invalidEnabledContextLimits":0}},{"key":"globalGatewayRoute","status":"ok","message":"GLOBAL models have a fixed overseas gateway route","data":{"globalVisible":3}}],"blockers":[],"warnings":[]}}