Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ functions
Functions
15,409 in github.com/QuantumNous/new-api
⨍
Functions
15,409
◇
Types & classes
2,241
Method
GetPreConsumedQuota
()
service/tiered_settle_test.go:331
Method
GetPreConsumedQuota
()
relay/alpha_search_handler_test.go:92
Method
GetPreConsumedQuota
()
relay/convert_request_error_test.go:41
Method
GetPreConsumedQuota
()
relay/helper/price_test.go:801
Function
GetPrefillGroups
GetPrefillGroups 获取预填组列表,可通过 ?type=xxx 过滤
controller/prefill_group.go:13
Method
GetPrefix
()
relaykit/dto/openai_request.go:669
Function
GetPriceEstimation
(c *gin.Context)
controller/deployment.go:600
Function
GetPricing
(c *gin.Context)
controller/pricing.go:38
Function
GetPrivacyPolicy
(c *gin.Context)
controller/misc.go:197
Method
GetPrompt
()
relay/common/relay_info.go:1071
Method
GetPrompt
()
relay/common/relay_utils.go:19
Method
GetProviderPrefix
()
controller/auth_flow_test.go:651
Method
GetProviderPrefix
()
controller/auth_flow_test.go:851
Method
GetProviderPrefix
()
oauth/telegram.go:200
Method
GetProviderPrefix
()
oauth/github.go:219
Method
GetProviderPrefix
()
oauth/oidc.go:173
Method
GetProviderPrefix
()
oauth/linuxdo.go:180
Method
GetProviderPrefix
()
oauth/discord.go:168
Method
GetProviderPrefix
()
oauth/generic.go:306
Function
GetQuotaDatesByUser
(c *gin.Context)
controller/usedata.go:48
Function
GetRankings
(c *gin.Context)
controller/rankings.go:10
Method
GetRawData
GetRawData 获取原始数据(兼容旧代码) Deprecated: 请使用 Source.GetRawData()
relaykit/types/request_meta.go:72
Method
GetRawData
()
relaykit/types/file_source.go:88
Method
GetRawData
()
relaykit/types/file_source.go:111
Method
GetReasoningContent
()
relaykit/dto/openai_response.go:112
Method
GetReasoningEffort
()
relay/common/relay_info.go:917
Function
GetRedemption
(c *gin.Context)
controller/redemption.go:44
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/replicate/adaptor.go:34
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/gemini/adaptor.go:161
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/deepseek/adaptor.go:75
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/xunfei/adaptor.go:44
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/ollama/adaptor.go:46
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/mistral/adaptor.go:43
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/zhipu_4v/adaptor.go:56
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/palm/adaptor.go:44
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/jina/adaptor.go:46
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/xai/adaptor.go:57
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/moonshot/adaptor.go:49
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/newapi/adaptor.go:32
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/openai/adaptor.go:114
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/minimax/adaptor.go:90
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/perplexity/adaptor.go:46
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/zhipu/adaptor.go:44
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/tencent/adaptor.go:55
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/dify/adaptor.go:61
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/siliconflow/adaptor.go:78
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/baidu_v2/adaptor.go:46
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/cohere/adaptor.go:44
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/baidu/adaptor.go:46
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/cloudflare/adaptor.go:36
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/mokaai/adaptor.go:51
Method
GetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/claude/adaptor.go:76
Method
GetRequestURL
GetRequestURL implements channel.Adaptor.
relay/channel/coze/adaptor.go:125
Function
GetSGLangChannelStatus
(c *gin.Context)
controller/channel_inference.go:53
Function
GetSelf
(c *gin.Context)
controller/user.go:467
Method
GetSendResponseCount
()
relaykit/relayconvert/convmeta/meta.go:264
Method
GetSendResponseCount
()
relay/common/relay_info.go:965
Function
GetSetup
(c *gin.Context)
controller/setup.go:27
Method
GetStringContent
()
relaykit/dto/claude.go:75
Function
GetSubscription
(c *gin.Context)
controller/billing.go:11
Function
GetSubscriptionPlans
---- User APIs ----
controller/subscription.go:31
Function
GetSubscriptionSelf
(c *gin.Context)
controller/subscription.go:52
Function
GetSyncableChannels
(c *gin.Context)
controller/ratio_sync.go:1131
Function
GetSystemTask
(c *gin.Context)
controller/system_task.go:116
Function
GetTagModels
(c *gin.Context)
controller/channel.go:1771
Function
GetTaskPluginVersions
(c *gin.Context)
controller/task_plugin.go:210
Method
GetTokenCountMeta
()
relaykit/dto/claude.go:288
Method
GetTokenCountMeta
()
relaykit/dto/openai_request.go:1133
Method
GetTokenCountMeta
()
relaykit/dto/deepseek_tools_request.go:19
Method
GetTokenCountMeta
()
relaykit/dto/gemini.go:74
Method
GetTokenCountMeta
()
relaykit/dto/gemini.go:658
Method
GetTokenCountMeta
()
relaykit/dto/gemini.go:686
Method
GetTokenCountMeta
()
relaykit/dto/rerank.go:25
Method
GetTokenCountMeta
()
relaykit/dto/audio.go:32
Method
GetTokenCountMeta
()
relaykit/dto/openai_responses_compaction_request.go:29
Method
GetTokenCountMeta
()
relaykit/dto/alpha_search_request.go:19
Method
GetTokenCountMeta
()
relaykit/dto/request_common.go:17
Function
GetTokenKeysBatch
(c *gin.Context)
controller/token.go:544
Function
GetTokenStatus
(c *gin.Context)
controller/token.go:210
Function
GetTokenUsage
(c *gin.Context)
controller/token.go:231
Function
GetTopUpById
(id int)
model/topup.go:126
Function
GetTopUpInfo
(c *gin.Context)
controller/topup.go:26
Method
GetUpstreamModelName
()
relaykit/relayconvert/convmeta/meta.go:185
Function
GetUptimeKumaStatus
(c *gin.Context)
controller/uptime_kuma.go:131
Function
GetUsage
(c *gin.Context)
controller/billing.go:71
Function
GetUsdToCurrencyRate
GetUsdToCurrencyRate 返回 1 USD = X <currency> 的 X(TOKENS 不适用)
setting/operation_setting/general_setting.go:77
Function
GetUser
(c *gin.Context)
controller/user.go:387
Function
GetUserAgreement
(c *gin.Context)
controller/misc.go:193
Function
GetUserEmail
(id int)
model/user.go:1269
Function
GetUserGroups
(c *gin.Context)
controller/group.go:26
Method
GetUserInfo
(context.Context, *oauth.OAuthToken)
controller/auth_flow_test.go:641
Method
GetUserInfo
(context.Context, *oauth.OAuthToken)
controller/auth_flow_test.go:834
Method
GetUserInfo
(context.Context, *oauth.OAuthToken)
controller/security_enrollment_test.go:1297
Method
GetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/telegram.go:151
Method
GetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/github.go:107
Method
GetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/oidc.go:110
Method
GetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/linuxdo.go:107
Method
GetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/discord.go:108
Method
GetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/generic.go:198
Function
GetUserLogs
(c *gin.Context)
controller/log.go:75
← previous
next →
10,201–10,300 of 15,409, ranked by callers