MCPcopy Create free account

hub / github.com/QuantumNous/new-api / functions

Functions15,409 in github.com/QuantumNous/new-api

MethodGetPreConsumedQuota
()
service/tiered_settle_test.go:331
MethodGetPreConsumedQuota
()
relay/alpha_search_handler_test.go:92
MethodGetPreConsumedQuota
()
relay/convert_request_error_test.go:41
MethodGetPreConsumedQuota
()
relay/helper/price_test.go:801
FunctionGetPrefillGroups
GetPrefillGroups 获取预填组列表,可通过 ?type=xxx 过滤
controller/prefill_group.go:13
MethodGetPrefix
()
relaykit/dto/openai_request.go:669
FunctionGetPriceEstimation
(c *gin.Context)
controller/deployment.go:600
FunctionGetPricing
(c *gin.Context)
controller/pricing.go:38
FunctionGetPrivacyPolicy
(c *gin.Context)
controller/misc.go:197
MethodGetPrompt
()
relay/common/relay_info.go:1071
MethodGetPrompt
()
relay/common/relay_utils.go:19
MethodGetProviderPrefix
()
controller/auth_flow_test.go:651
MethodGetProviderPrefix
()
controller/auth_flow_test.go:851
MethodGetProviderPrefix
()
oauth/telegram.go:200
MethodGetProviderPrefix
()
oauth/github.go:219
MethodGetProviderPrefix
()
oauth/oidc.go:173
MethodGetProviderPrefix
()
oauth/linuxdo.go:180
MethodGetProviderPrefix
()
oauth/discord.go:168
MethodGetProviderPrefix
()
oauth/generic.go:306
FunctionGetQuotaDatesByUser
(c *gin.Context)
controller/usedata.go:48
FunctionGetRankings
(c *gin.Context)
controller/rankings.go:10
MethodGetRawData
GetRawData 获取原始数据(兼容旧代码) Deprecated: 请使用 Source.GetRawData()
relaykit/types/request_meta.go:72
MethodGetRawData
()
relaykit/types/file_source.go:88
MethodGetRawData
()
relaykit/types/file_source.go:111
MethodGetReasoningContent
()
relaykit/dto/openai_response.go:112
MethodGetReasoningEffort
()
relay/common/relay_info.go:917
FunctionGetRedemption
(c *gin.Context)
controller/redemption.go:44
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/replicate/adaptor.go:34
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/gemini/adaptor.go:161
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/deepseek/adaptor.go:75
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/xunfei/adaptor.go:44
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/ollama/adaptor.go:46
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/mistral/adaptor.go:43
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/zhipu_4v/adaptor.go:56
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/palm/adaptor.go:44
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/jina/adaptor.go:46
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/xai/adaptor.go:57
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/moonshot/adaptor.go:49
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/newapi/adaptor.go:32
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/openai/adaptor.go:114
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/minimax/adaptor.go:90
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/perplexity/adaptor.go:46
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/zhipu/adaptor.go:44
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/tencent/adaptor.go:55
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/dify/adaptor.go:61
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/siliconflow/adaptor.go:78
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/baidu_v2/adaptor.go:46
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/cohere/adaptor.go:44
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/baidu/adaptor.go:46
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/cloudflare/adaptor.go:36
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/mokaai/adaptor.go:51
MethodGetRequestURL
(info *relaycommon.RelayInfo)
relay/channel/claude/adaptor.go:76
MethodGetRequestURL
GetRequestURL implements channel.Adaptor.
relay/channel/coze/adaptor.go:125
FunctionGetSGLangChannelStatus
(c *gin.Context)
controller/channel_inference.go:53
FunctionGetSelf
(c *gin.Context)
controller/user.go:467
MethodGetSendResponseCount
()
relaykit/relayconvert/convmeta/meta.go:264
MethodGetSendResponseCount
()
relay/common/relay_info.go:965
FunctionGetSetup
(c *gin.Context)
controller/setup.go:27
MethodGetStringContent
()
relaykit/dto/claude.go:75
FunctionGetSubscription
(c *gin.Context)
controller/billing.go:11
FunctionGetSubscriptionPlans
---- User APIs ----
controller/subscription.go:31
FunctionGetSubscriptionSelf
(c *gin.Context)
controller/subscription.go:52
FunctionGetSyncableChannels
(c *gin.Context)
controller/ratio_sync.go:1131
FunctionGetSystemTask
(c *gin.Context)
controller/system_task.go:116
FunctionGetTagModels
(c *gin.Context)
controller/channel.go:1771
FunctionGetTaskPluginVersions
(c *gin.Context)
controller/task_plugin.go:210
MethodGetTokenCountMeta
()
relaykit/dto/claude.go:288
MethodGetTokenCountMeta
()
relaykit/dto/openai_request.go:1133
MethodGetTokenCountMeta
()
relaykit/dto/deepseek_tools_request.go:19
MethodGetTokenCountMeta
()
relaykit/dto/gemini.go:74
MethodGetTokenCountMeta
()
relaykit/dto/gemini.go:658
MethodGetTokenCountMeta
()
relaykit/dto/gemini.go:686
MethodGetTokenCountMeta
()
relaykit/dto/rerank.go:25
MethodGetTokenCountMeta
()
relaykit/dto/audio.go:32
MethodGetTokenCountMeta
()
relaykit/dto/openai_responses_compaction_request.go:29
MethodGetTokenCountMeta
()
relaykit/dto/alpha_search_request.go:19
MethodGetTokenCountMeta
()
relaykit/dto/request_common.go:17
FunctionGetTokenKeysBatch
(c *gin.Context)
controller/token.go:544
FunctionGetTokenStatus
(c *gin.Context)
controller/token.go:210
FunctionGetTokenUsage
(c *gin.Context)
controller/token.go:231
FunctionGetTopUpById
(id int)
model/topup.go:126
FunctionGetTopUpInfo
(c *gin.Context)
controller/topup.go:26
MethodGetUpstreamModelName
()
relaykit/relayconvert/convmeta/meta.go:185
FunctionGetUptimeKumaStatus
(c *gin.Context)
controller/uptime_kuma.go:131
FunctionGetUsage
(c *gin.Context)
controller/billing.go:71
FunctionGetUsdToCurrencyRate
GetUsdToCurrencyRate 返回 1 USD = X <currency> 的 X(TOKENS 不适用)
setting/operation_setting/general_setting.go:77
FunctionGetUser
(c *gin.Context)
controller/user.go:387
FunctionGetUserAgreement
(c *gin.Context)
controller/misc.go:193
FunctionGetUserEmail
(id int)
model/user.go:1269
FunctionGetUserGroups
(c *gin.Context)
controller/group.go:26
MethodGetUserInfo
(context.Context, *oauth.OAuthToken)
controller/auth_flow_test.go:641
MethodGetUserInfo
(context.Context, *oauth.OAuthToken)
controller/auth_flow_test.go:834
MethodGetUserInfo
(context.Context, *oauth.OAuthToken)
controller/security_enrollment_test.go:1297
MethodGetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/telegram.go:151
MethodGetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/github.go:107
MethodGetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/oidc.go:110
MethodGetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/linuxdo.go:107
MethodGetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/discord.go:108
MethodGetUserInfo
(ctx context.Context, token *OAuthToken)
oauth/generic.go:198
FunctionGetUserLogs
(c *gin.Context)
controller/log.go:75
← previousnext →10,201–10,300 of 15,409, ranked by callers