MCPcopy Create free account

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

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

MethodGetChannelName
GetChannelName implements channel.Adaptor.
relay/channel/coze/adaptor.go:115
FunctionGetChannelOps
(c *gin.Context)
controller/channel.go:190
FunctionGetChannelPriorityOrder
(c *gin.Context)
controller/channel_priority.go:12
MethodGetChannelType
()
relaykit/relayconvert/convmeta/meta.go:203
FunctionGetChannelsByType
Get channels of specified type with pagination
model/channel.go:1340
FunctionGetCheckinQuotaRange
GetCheckinQuotaRange 获取签到额度范围
setting/operation_setting/checkin_setting.go:35
FunctionGetCheckinStatus
GetCheckinStatus 获取用户签到状态和历史记录
controller/checkin.go:15
FunctionGetCodexChannelRateLimitResetCredits
(c *gin.Context)
controller/codex_usage.go:29
FunctionGetCodexChannelUsage
(c *gin.Context)
controller/codex_usage.go:20
FunctionGetContainerDetails
(c *gin.Context)
controller/deployment.go:758
MethodGetContainerJobs
GetContainerJobs retrieves containers jobs for a specific container (similar to containers endpoint)
pkg/ionet/container.go:59
MethodGetContainerLogs
GetContainerLogs retrieves logs for containers in a deployment and normalizes them
pkg/ionet/container.go:125
FunctionGetContextKeyStringSlice
(c *gin.Context, key constant.ContextKey)
common/gin.go:255
FunctionGetCurrencySymbol
GetCurrencySymbol 返回当前展示类型对应符号
setting/operation_setting/general_setting.go:60
FunctionGetCurrentSystemTask
(c *gin.Context)
controller/system_task.go:37
FunctionGetCustomOAuthProvider
GetCustomOAuthProvider returns a single custom OAuth provider by ID
controller/custom_oauth.go:96
FunctionGetCustomOAuthProviderBySlug
GetCustomOAuthProviderBySlug returns a custom OAuth provider by slug
model/custom_oauth_provider.go:100
FunctionGetCustomOAuthProviders
GetCustomOAuthProviders returns all custom OAuth providers
controller/custom_oauth.go:76
FunctionGetDashboardPerfMetricsSummary
(c *gin.Context)
controller/perf_metrics.go:34
FunctionGetDeployment
(c *gin.Context)
controller/deployment.go:296
FunctionGetDeploymentLogs
(c *gin.Context)
controller/deployment.go:646
FunctionGetEnabledCustomOAuthProviders
GetEnabledCustomOAuthProviders returns all enabled custom OAuth providers
model/custom_oauth_provider.go:83
MethodGetEndIdx
()
common/page_info.go:21
MethodGetEstimatePromptTokens
()
relaykit/relayconvert/convmeta/meta.go:234
MethodGetEstimatePromptTokens
()
relay/common/relay_info.go:857
FunctionGetFileBase64FromUrl
GetFileBase64FromUrl 从 URL 获取文件的 base64 编码数据 Deprecated: 请使用 GetBase64Data 配合 types.NewURLFileSource 替代 此函数保留用于向后兼容,内部已重构为调用统一的文件服务
service/file_decoder.go:139
MethodGetFirstToolCall
()
relaykit/dto/openai_response.go:171
FunctionGetFullRequestURL
(baseURL string, requestURL string, channelType int)
relay/common/relay_utils.go:26
FunctionGetGroups
(c *gin.Context)
controller/group.go:14
MethodGetGroups
()
model/channel.go:316
MethodGetHardwareType
GetHardwareType retrieves details about a specific hardware type
pkg/ionet/hardware.go:139
FunctionGetHardwareTypes
(c *gin.Context)
controller/deployment.go:520
FunctionGetHomePageContent
(c *gin.Context)
controller/misc.go:213
MethodGetIdentifier
GetIdentifier 获取文件标识符(用于日志)
relaykit/types/request_meta.go:58
MethodGetIdentifier
()
relaykit/types/file_source.go:81
MethodGetIdentifier
()
relaykit/types/file_source.go:104
FunctionGetImage
(c *gin.Context)
controller/image.go:7
MethodGetIsStream
()
relaykit/relayconvert/convmeta/meta.go:210
MethodGetIsStream
()
relay/common/relay_info.go:913
MethodGetJsonRowString
()
relaykit/dto/claude.go:101
MethodGetLocation
GetLocation retrieves details about a specific location
pkg/ionet/hardware.go:161
MethodGetLocationAvailability
GetLocationAvailability retrieves real-time availability for a specific location
pkg/ionet/hardware.go:183
FunctionGetLocations
(c *gin.Context)
controller/deployment.go:540
FunctionGetLogByKey
(c *gin.Context)
controller/log.go:182
FunctionGetLogFiles
GetLogFiles 获取日志文件列表
controller/performance.go:222
FunctionGetLoginSessions
(c *gin.Context)
controller/auth_session.go:97
FunctionGetLogsSelfStat
(c *gin.Context)
controller/log.go:230
FunctionGetLogsStat
(c *gin.Context)
controller/log.go:203
FunctionGetMidjourney
(c *gin.Context)
controller/misc.go:202
FunctionGetMimeType
GetMimeType 获取文件的 MIME 类型
service/file_service.go:431
FunctionGetMissingModels
GetMissingModels returns the list of model names that are referenced by channels but do not have corresponding records in the models meta table. This
controller/missing_models.go:14
FunctionGetMjByuId
(id int)
model/midjourney.go:150
FunctionGetModelDeploymentSettings
(c *gin.Context)
controller/deployment.go:28
FunctionGetModelEnableGroups
(modelName string)
model/model_extra.go:3
MethodGetModelList
()
relay/channel/adapter.go:81
MethodGetModelList
()
relay/channel/replicate/adaptor.go:306
MethodGetModelList
()
relay/channel/jimeng/adaptor.go:138
MethodGetModelList
()
relay/channel/gemini/adaptor.go:323
MethodGetModelList
()
relay/channel/deepseek/adaptor.go:300
MethodGetModelList
()
relay/channel/ali/adaptor.go:225
MethodGetModelList
()
relay/channel/xunfei/adaptor.go:98
MethodGetModelList
()
relay/channel/ollama/adaptor.go:142
MethodGetModelList
()
relay/channel/mistral/adaptor.go:87
MethodGetModelList
()
relay/channel/task/jsplugin/adaptor.go:655
MethodGetModelList
()
relay/channel/zhipu_4v/adaptor.go:138
MethodGetModelList
()
relay/channel/palm/adaptor.go:90
MethodGetModelList
()
relay/channel/providerplugin/adaptor.go:509
MethodGetModelList
()
relay/channel/jina/adaptor.go:92
MethodGetModelList
()
relay/channel/xai/adaptor.go:139
MethodGetModelList
()
relay/channel/moonshot/adaptor.go:133
MethodGetModelList
()
relay/channel/newapi/adaptor.go:115
MethodGetModelList
()
relay/channel/openai/adaptor.go:798
MethodGetModelList
()
relay/channel/aws/adaptor.go:177
MethodGetModelList
()
relay/channel/submodel/adaptor.go:81
MethodGetModelList
()
relay/channel/minimax/adaptor.go:141
MethodGetModelList
()
relay/channel/perplexity/adaptor.go:92
MethodGetModelList
()
relay/channel/zhipu/adaptor.go:96
MethodGetModelList
()
relay/channel/tencent/adaptor.go:112
MethodGetModelList
()
relay/channel/tencent/dispatch.go:31
MethodGetModelList
()
relay/channel/dify/adaptor.go:113
MethodGetModelList
()
relay/channel/siliconflow/adaptor.go:134
MethodGetModelList
()
relay/channel/baidu_v2/adaptor.go:124
MethodGetModelList
()
relay/channel/volcengine/adaptor.go:397
MethodGetModelList
()
relay/channel/vertex/adaptor.go:380
MethodGetModelList
()
relay/channel/codex/adaptor.go:133
MethodGetModelList
()
relay/channel/cohere/adaptor.go:93
MethodGetModelList
()
relay/channel/advancedcustom/adaptor.go:363
MethodGetModelList
()
relay/channel/baidu/adaptor.go:163
MethodGetModelList
()
relay/channel/cloudflare/adaptor.go:129
MethodGetModelList
()
relay/channel/mokaai/adaptor.go:105
MethodGetModelList
()
relay/channel/claude/adaptor.go:176
MethodGetModelList
GetModelList implements channel.Adaptor.
relay/channel/coze/adaptor.go:120
FunctionGetModelPriceMap
()
setting/ratio_setting/model_ratio.go:347
FunctionGetModelPricingConfig
(c *gin.Context)
controller/model_pricing_config.go:12
FunctionGetModelRatioOrPrice
result: 倍率or价格, usePrice, exist
setting/ratio_setting/model_ratio.go:743
FunctionGetModelSquareUsage
GetModelSquareUsage lists every model of the model square, whichever group can see it, with its usage for the order preview.
controller/pricing.go:83
MethodGetName
()
controller/auth_flow_test.go:632
MethodGetName
()
controller/auth_flow_test.go:833
MethodGetName
()
oauth/telegram.go:103
MethodGetName
()
oauth/github.go:44
← previousnext →10,201–10,300 of 15,592, ranked by callers