MCPcopy Create free account

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

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

↓ 2 callersFunctionoriginsForRPID
(origins []string, rpID string)
service/passkey/service.go:138
↓ 2 callersFunctionoutboundDuration
(req)
plugins/tasks/hailuo/plugin.js:242
↓ 2 callersFunctionoutboundDuration
(req)
plugins/tasks/kling/plugin.js:242
↓ 2 callersFunctionoutboundSeconds
(req, reqKey)
plugins/tasks/jimeng/plugin.js:225
↓ 2 callersMethodoutputStatus
()
relaykit/relayconvert/internal/oai_chat/to_oai_responses_stream_resp.go:845
↓ 2 callersFunctionoverrideKey
overrideKey is the value {api_key} stands for in header overrides: a credential line is no API key.
relay/channel/task/jsplugin/credential.go:121
↓ 2 callersMethodparamOverride
new-api only: outbound hooks only, runs the new-api channel parameter override language on body, with conditions reading ctx. A return_error operation
pluginkit/v1.d.ts:34
↓ 2 callersFunctionparseAdvancedCustomRouteModels
(value: string)
web/src/features/channels/lib/advanced-custom.ts:600
↓ 2 callersFunctionparseAudio
(audioBase64 string, format string)
service/audio.go:10
↓ 2 callersFunctionparseConditionOperations
(raw any)
relay/common/override.go:2061
↓ 2 callersFunctionparseContentUrl
(value: unknown)
web/src/features/usage-logs/lib/task-artifacts.ts:56
↓ 2 callersFunctionparseDocument
(body []byte)
pkg/requestpatch/patch.go:409
↓ 2 callersFunctionparseFlowQuotaTimeRange
(c *gin.Context)
controller/usedata.go:13
↓ 2 callersFunctionparseHEIFDimensions
parseHEIFDimensions parses ISOBMFF box tree to find the ispe box and extract image width/height. Returns (width, height, ok).
service/file_service.go:517
↓ 2 callersFunctionparseHeaderNavBoolean
( raw: unknown, fallback: boolean )
web/src/lib/nav-modules.ts:59
↓ 2 callersFunctionparseHeaderNavModulesFromStatus
( status: Record<string, unknown> | null )
web/src/lib/nav-modules.ts:141
↓ 2 callersFunctionparseHeaderOverrideObject
( headerOverride: string | undefined )
web/src/features/channels/lib/header-passthrough.ts:29
↓ 2 callersFunctionparseHeaderReplacementTokens
(value any)
relay/common/override.go:1358
↓ 2 callersFunctionparseInferenceMetrics
(raw string, prefix string)
controller/channel_inference.go:211
↓ 2 callersFunctionparseJsonEditorConfig
()
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:585
↓ 2 callersFunctionparseJsonRows
(json: string)
web/src/components/json-editor.tsx:46
↓ 2 callersFunctionparseLegacyAudioClips
(data: unknown)
web/src/features/usage-logs/lib/task-artifacts.ts:143
↓ 2 callersFunctionparseMarketplaceDescription
( value: unknown )
web/src/features/task-plugins/lib/marketplace.ts:270
↓ 2 callersFunctionparseModelStatusFilter
parseModelStatusFilter maps UI/API status values to the models.status column. Returns ok=false when no status filter should be applied.
model/model_meta.go:518
↓ 2 callersFunctionparseModelSyncFilter
parseModelSyncFilter maps UI/API sync values to the models.sync_official column. Returns ok=false when no sync filter should be applied.
model/model_meta.go:537
↓ 2 callersFunctionparseModelsList
(models: string)
web/src/features/channels/lib/channel-utils.ts:226
↓ 2 callersFunctionparseNestedRatioMap
( value: string )
web/src/features/system-settings/models/group-ratio-visual-editor.tsx:150
↓ 2 callersFunctionparseNode
(value gjson.Result, depth int)
pkg/requestpatch/patch.go:423
↓ 2 callersFunctionparseNonNegativeNumber
(value: string)
web/src/features/pricing/lib/billing-expression/visual.ts:249
↓ 2 callersFunctionparsePluginChangelog
( text: string, identity: ChangelogIdentity, sourceUrl: string )
web/src/features/task-plugins/lib/plugin-changelog.ts:167
↓ 2 callersFunctionparsePluginReadme
( text: string, locale: string, sourceUrl: string )
web/src/features/task-plugins/lib/plugin-readme.ts:86
↓ 2 callersFunctionparseProviderModelSuffix
parseProviderModelSuffix recognises a provider family's naked model-name aliases. allowSuffixAlias gates all of them, including effort tails, so a dis
relaykit/relayconvert/reasoning/suffix.go:226
↓ 2 callersFunctionparseProxyURL
(rawProxyURL string, allowLegacySuffix bool)
common/proxy_url.go:23
↓ 2 callersFunctionparsePruneObjectsDraft
(valueText: string)
web/src/features/channels/components/dialogs/param-override-editor-dialog.tsx:789
↓ 2 callersFunctionparseRequestModelName
(name string, opts *convmeta.Options)
relay/helper/reasoning_suffix.go:162
↓ 2 callersFunctionparseResponsesWSEnvelope
Stream identity belongs to the WebSocket envelope. For the legacy wrapped input, the top-level field takes precedence over response.stream_id.
relay/responses_websocket.go:934
↓ 2 callersFunctionparseRoutePattern
(routePath string)
router/plugin-router.go:629
↓ 2 callersFunctionparseSidebarConfig
* Parse backend SidebarModulesAdmin configuration
web/src/hooks/use-sidebar-config.ts:128
↓ 2 callersFunctionparseStatusCodeKey
(rawKey: string)
web/src/features/channels/lib/status-code-risk-guard.ts:21
↓ 2 callersFunctionparseStatusCodeMappingTarget
(rawValue: unknown)
web/src/features/channels/lib/status-code-risk-guard.ts:27
↓ 2 callersFunctionparseStatusFilter
(statusParam string)
controller/channel.go:62
↓ 2 callersFunctionparseStreamMessageUpdates
(data: string)
web/src/features/playground/lib/streaming/stream-utils.ts:67
↓ 2 callersFunctionparseStringItems
(items: PrefillGroup['items'])
web/src/features/models/components/prefill-group-shared.ts:69
↓ 2 callersFunctionparseTaskArtifactsResponse
( response: TaskArtifactsResponse )
web/src/features/usage-logs/lib/task-artifacts.ts:163
↓ 2 callersFunctionparseTelegramBindCallback
( search: TelegramBindCallbackSearch )
web/src/features/auth/lib/oauth-bind-window.ts:56
↓ 2 callersFunctionparseToUnicode
parseToUnicode reads the code space ranges, at most maxPDFCodespaceRanges, and the bfchar and bfrange entries of a ToUnicode CMap. Ranges walk at most
relay/requestplugin/pdf.go:400
↓ 2 callersFunctionparseToolPrice
(value: string)
web/src/features/system-settings/models/tool-price-settings.tsx:73
↓ 2 callersFunctionparseUserSidebarConfig
* Parse user-level sidebar_modules. Returns null when the value is empty, * invalid, or otherwise unusable — the caller treats null as "do not narrow
web/src/hooks/use-sidebar-config.ts:151
↓ 2 callersFunctionparseVolcengineAuth
(apiKey string)
relay/channel/volcengine/tts.go:110
↓ 2 callersFunctionparseWaffoPayMethods
(value: string)
web/src/features/system-settings/integrations/payment-settings-section.tsx:221
↓ 2 callersFunctionpatchGeminiZeroCompletionUsage
patchGeminiZeroCompletionUsage estimates completion tokens locally when upstream usageMetadata was billable but reported zero completion tokens even t
relay/channel/gemini/relay-gemini.go:50
↓ 2 callersFunctionpatchSource
Reuse untouched source spans instead of rewriting whitespace, labels or price order.
web/src/features/pricing/lib/billing-expression/visual.ts:232
↓ 2 callersMethodpickShard
(origin string)
service/http_transport_sharded.go:47
↓ 2 callersFunctionpinTaskPluginFormModel
pinTaskPluginFormModel sets the model field of a form body to the model the endpoint was pinned to.
middleware/task_plugin.go:1036
↓ 2 callersFunctionpinnedCandidatePlugins
pinnedCandidatePlugins returns the plugins a pinned shared host endpoint, or a native route several plugins declare, may execute, in ascending key ord
middleware/distributor.go:194
↓ 2 callersFunctionpinnedEndpointCandidateForChannel
pinnedEndpointCandidateForChannel returns the index, among pinnedCandidatePlugins, of the candidate that executes on channel.
middleware/distributor.go:225
↓ 2 callersFunctionplainObject
(value)
plugins/tasks/hailuo/plugin.js:200
↓ 2 callersFunctionplanChannelPriorityMove
Equal-priority channels remain together. Opening a slot shifts the shorter contiguous run of occupied integer priorities, measured by affected channel
model/channel_priority.go:113
↓ 2 callersFunctionpluginExpressionsEqual
( left: Record<string, string> = {}, right: Record<string, string> = {} )
web/src/features/pricing/lib/plugin-pricing.ts:108
↓ 2 callersFunctionpluginLoginFieldsSchema
(fields: PluginLoginField[])
web/src/features/channels/lib/plugin-login.ts:266
↓ 2 callersFunctionpluginProtocolTickDelay
(taskID string, tick uint64, base, jitter time.Duration)
controller/plugin_protocol.go:1198
↓ 2 callersFunctionpluginReportsBalance
pluginReportsBalance reports whether a plugin exports the balance hooks.
controller/channel_balance.go:80
↓ 2 callersFunctionpluginResponseMap
(response *dto.PluginResponsesResponse)
relay/plugin_protocol.go:842
↓ 2 callersFunctionpluginTokenKey
(plugin *jsplugin.LoadedPlugin, channelID int, line string, config json.RawMessage, baseURL string)
service/provider_plugin.go:313
↓ 2 callersFunctionpluginUsageSchema
( model: PricingModel | undefined, pluginKey: string | undefined )
web/src/features/pricing/lib/plugin-pricing.ts:119
↓ 2 callersFunctionpngUp
pngUp encodes data as PNG Up rows of columns bytes, the last padded with zeros.
relay/requestplugin/pdf_test.go:132
↓ 2 callersFunctionpolicyEffect
(policy []string)
service/authz/resolver.go:78
↓ 2 callersFunctionpopTaskArtifactAccessQuery
(request *http.Request)
middleware/task_artifact_access.go:134
↓ 2 callersFunctionpositiveUserSessionEnv
(name string, fallback int)
common/init.go:177
↓ 2 callersFunctionpostConsumeQuotaWithResult
(relayInfo *relaycommon.RelayInfo, quota int, preConsumedQuota int, sendEmail bool)
service/quota.go:440
↓ 2 callersFunctionpostTelegramBindResult
( callback: TelegramBindCallback, opener: Pick<Window, 'closed' | 'postMessage'> | null, targetOrigin: s
web/src/features/auth/lib/oauth-bind-window.ts:79
↓ 2 callersMethodprefix
()
pkg/cachex/namespace.go:8
↓ 2 callersMethodprepare
(candidate, current *jsplugin.RoutingGeneration)
router/plugin-router.go:160
↓ 2 callersMethodprepareForInsert
(tx *gorm.DB)
model/user.go:624
↓ 2 callersMethodprepareKey
prepareKey binds the plugin and its route, refreshes a credential that expires soon and exchanges a static key for a token when the plugin exports exc
relay/channel/providerplugin/adaptor.go:174
↓ 2 callersFunctionpreviewModelPricing
(request: { model_name: string pricing: PricingValues })
web/src/features/model-pricing/api.ts:106
↓ 2 callersFunctionpricingAdjustmentRows
( details: LegacyBillingDetails | undefined, t: (key: string) => string )
web/src/features/system-settings/models/model-pricing-core.ts:424
↓ 2 callersFunctionpricingByModelName
(pricings []model.Pricing)
controller/model_list_test.go:168
↓ 2 callersFunctionpricingEndpointTypesFromPricing
(pricings []Pricing)
model/pricing_endpoint_test.go:73
↓ 2 callersFunctionpricingUsesRelayRoutes
pricingUsesRelayRoutes reports a channel type whose endpoints come from its relay routes: Advanced Custom settings, or a task plugin's meta.relay.
model/pricing.go:145
↓ 2 callersFunctionpricingValuesByModel
( options: PricingOptions )
web/src/features/model-pricing/pricing.ts:332
↓ 2 callersFunctionprocessFormMap
(formMap map[string]any, v any)
common/gin.go:406
↓ 2 callersFunctionprocessUserChartData
( data: QuotaDataItem[], timeGranularity: TimeGranularity = 'day', t?: TFunction, limit = 10 )
web/src/features/dashboard/lib/charts.ts:709
↓ 2 callersFunctionproductForReqKey
(reqKey)
plugins/tasks/jimeng/plugin.js:194
↓ 2 callersFunctionpromptField
(source, required)
plugins/tasks/xai/plugin.js:173
↓ 2 callersFunctionproofHeaders
(proofToken?: string)
web/src/features/auth/passkey/api.ts:28
↓ 2 callersMethodprotectedHeader
protectedHeader reports the headers a header.patch effect must not touch besides requestpatch.IsProtectedHeader: the route auth header and the credent
relay/channel/providerplugin/adaptor.go:672
↓ 2 callersFunctionproviderChannelServes
providerChannelServes reports a task plugin channel whose plugin relays requestPath for modelName through its relay routes, as an Advanced Custom chan
model/channel_constraint.go:154
↓ 2 callersFunctionproviderTestEndpoint
providerTestEndpoint returns the endpoint a task plugin channel test uses for model instead of requestPath, which meta's relay routes that are on for
controller/channel-test.go:73
↓ 2 callersFunctionptrValue
(value T)
service/convert_test.go:112
↓ 2 callersFunctionpublishAuthSessionEvent
( kind: AuthSessionSyncEvent['kind'], sid: string )
web/src/lib/auth-session-sync.ts:53
↓ 2 callersFunctionpublishCreatedUserSession
(session *UserSession, cacheDeadline time.Time)
model/user_session.go:166
↓ 2 callersFunctionpublishRows
(nextRows: TaskMatrixRow[])
web/src/features/system-settings/models/task-usage-pricing-editor.tsx:346
↓ 2 callersFunctionpush
(text, path)
plugins/tasks/content-moderation/plugin.js:168
↓ 2 callersFunctionpushText
(fields, path, value)
plugins/tasks/request-redact/plugin.js:226
↓ 2 callersMethodquery
()
model/system_task.go:202
↓ 2 callersMethodqueryCredentials
queryCredentials returns what the parse hooks of a poll response receive: the key line the poll sent, which on a channel with credentials is the submi
relay/channel/task/jsplugin/adaptor.go:1348
↓ 2 callersFunctionqueryMember
(object map[string]any, name, subject string)
pluginkit/provider.go:1791
↓ 2 callersFunctionqueueSearchValue
(value: string)
web/src/components/data-table/toolbar/toolbar.tsx:224
↓ 2 callersFunctionquotaNotifyContent
quotaNotifyContent renders a low-quota notice in the user's saved language. Bark and Gotify get plain text; email and webhook get HTML with the top-up
service/quota.go:556
← previousnext →4,501–4,600 of 15,592, ranked by callers