MCPcopy Create free account

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

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

MethodExchangeToken
(context.Context, string, *gin.Context)
controller/auth_flow_test.go:634
MethodExchangeToken
(ctx context.Context, code string, c *gin.Context)
oauth/telegram.go:107
MethodExchangeToken
(ctx context.Context, code string, c *gin.Context)
oauth/github.go:52
MethodExchangeToken
(ctx context.Context, code string, c *gin.Context)
oauth/oidc.go:51
MethodExchangeToken
(ctx context.Context, code string, c *gin.Context)
oauth/linuxdo.go:44
MethodExchangeToken
(ctx context.Context, code string, c *gin.Context)
oauth/discord.go:49
MethodExchangeToken
(ctx context.Context, code string, c *gin.Context)
oauth/generic.go:89
MethodExecuteInContainer
ExecuteInContainer executes a command in a specific container (if supported by the API)
pkg/ionet/container.go:270
FunctionExportAllLogs
ExportAllLogs streams every user's logs matching the search.
controller/log.go:98
FunctionExportLogsDialog
()
web/src/features/usage-logs/components/dialogs/export-logs-dialog.tsx:51
FunctionExportUserLogs
ExportUserLogs streams the caller's own logs matching the search.
controller/log.go:103
FunctionExtendDeployment
(c *gin.Context)
controller/deployment.go:430
FunctionExtendDeploymentDialog
({ open, onOpenChange, deploymentId, }: { open: boolean onOpenChange: (open: boolean) => void depl
web/src/features/models/components/dialogs/extend-deployment-dialog.tsx:40
FunctionExtractReasoningTextFromResponses
(resp *dto.OpenAIResponsesResponse)
relaykit/relayconvert/response_compat.go:192
MethodExtractUsageFacts
(c *gin.Context, info *relaycommon.RelayInfo)
relay/channel/task/jsplugin/adaptor.go:197
FunctionFAQPanel
()
web/src/features/dashboard/components/overview/faq-panel.tsx:36
FunctionFAQSection
({ enabled, data }: FAQSectionProps)
web/src/features/system-settings/content/faq-section.tsx:85
FunctionFadeIn
(props: FadeInProps)
web/src/components/page-transition.tsx:191
FunctionFailReasonDialog
({ failReason, open, onOpenChange, }: FailReasonDialogProps)
web/src/features/usage-logs/components/dialogs/fail-reason-dialog.tsx:34
FunctionFailTaskInfo
(reason string)
relay/common/relay_info.go:1154
FunctionFailureDetailsSheet
({ details, onOpenChange, }: { details: FailureDetailsState | null onOpenChange: (open: boolean) => vo
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:1326
FunctionFailureResultContent
({ result, model, onOpenDetails, }: { result: TestResult model: string onOpenDetails: (details: Fa
web/src/features/channels/components/dialogs/channel-test-dialog.tsx:1268
FunctionFallbackContent
* Fallback content — condensed label:value pairs for tables without * mobileTitle/mobileBadge. Still respects mobileHidden.
web/src/components/data-table/layout/card-row-content.tsx:142
FunctionFallbackListSkeleton
()
web/src/components/data-table/layout/mobile-card-list.tsx:91
FunctionFeatureItem
({ title, description, icon }: FeatureItemProps)
web/src/features/home/components/feature-item.tsx:28
FunctionFeatures
(_props: FeaturesProps)
web/src/features/home/components/sections/features.tsx:37
MethodFetchBatchTasks
(_ string, _ string, tasks []*model.Task, _ string)
service/task_polling_test.go:44
MethodFetchBatchTasks
(string, string, []*model.Task, string)
service/task_polling_test.go:937
MethodFetchBatchTasks
(baseURL, key string, tasks []*model.Task, proxy string)
relay/channel/task/jsplugin/adaptor.go:659
MethodFetchBody
FetchBody returns body with each JSON string value that equals a ref of the call replaced by its data URL, streamed from the request. A string that eq
relay/requestplugin/attachments.go:627
FunctionFetchCodexWhamRateLimitResetCredits
( ctx context.Context, client *http.Client, baseURL string, accessToken string, accountID string, )
service/codex_wham_usage.go:57
FunctionFetchCodexWhamUsage
( ctx context.Context, client *http.Client, baseURL string, accessToken string, accountID string, )
service/codex_wham_usage.go:15
FunctionFetchCustomOAuthDiscovery
FetchCustomOAuthDiscovery fetches OIDC discovery document via backend (root-only route)
controller/custom_oauth.go:145
MethodFetchMode
()
service/task_polling_test.go:43
MethodFetchMode
()
service/task_polling_test.go:936
MethodFetchMode
()
relay/channel/task/jsplugin/adaptor.go:657
FunctionFetchModelsDialog
({ open, onOpenChange, onModelsSelected, redirectModels = [], redirectSourceModels = [], customFet
web/src/features/channels/components/dialogs/fetch-models-dialog.tsx:63
MethodFetchTask
(string, string, *model.Task, string)
controller/plugin_protocol_test.go:374
MethodFetchTask
(_ string, _ string, task *model.Task, _ string)
service/task_polling_test.go:77
MethodFetchTask
(string, string, *model.Task, string)
service/task_polling_test.go:904
MethodFetchTask
(string, string, *model.Task, string)
service/task_billing_test.go:1412
MethodFetchTask
(baseURL, key string, task *model.Task, proxy string)
relay/channel/task/jsplugin/adaptor.go:690
FunctionFetchUpstreamModels
(c *gin.Context)
controller/channel.go:353
FunctionFetchUpstreamRatios
(c *gin.Context)
controller/ratio_sync.go:211
FunctionField
({ className, orientation = 'vertical', ...props }: React.ComponentProps<'div'> & VariantProps<typeof fi
web/src/components/ui/field.tsx:88
FunctionFieldBlock
({ label, className, labelClassName, children, }: { label: ReactNode className?: string labelCla
web/src/features/channels/components/dialogs/advanced-custom-editor-dialog.tsx:1832
FunctionFieldContent
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/field.tsx:104
FunctionFieldDescription
({ className, ...props }: React.ComponentProps<'p'>)
web/src/components/ui/field.tsx:147
FunctionFieldError
({ className, children, errors, ...props }: React.ComponentProps<'div'> & { errors?: Array<{ message
web/src/components/ui/field.tsx:192
FunctionFieldGroup
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/field.tsx:57
FunctionFieldLabel
({ className, ...props }: React.ComponentProps<typeof Label>)
web/src/components/ui/field.tsx:117
FunctionFieldLegend
({ className, variant = 'legend', ...props }: React.ComponentProps<'legend'> & { variant?: 'legend' | 'l
web/src/components/ui/field.tsx:39
FunctionFieldSeparator
({ children, className, ...props }: React.ComponentProps<'div'> & { children?: React.ReactNode })
web/src/components/ui/field.tsx:162
FunctionFieldSet
({ className, ...props }: React.ComponentProps<'fieldset'>)
web/src/components/ui/field.tsx:26
FunctionFieldTitle
({ className, ...props }: React.ComponentProps<'div'>)
web/src/components/ui/field.tsx:134
FunctionFieldsStep
(props: { fields: PluginLoginField[] formId: string disabled: boolean onSubmit: (input: PluginLoginInp
web/src/features/channels/components/dialogs/plugin-login-steps.tsx:256
FunctionFillColumnPopover
(props: FillColumnPopoverProps)
web/src/features/system-settings/models/task-pricing-matrix.tsx:98
MethodFillUserByProviderID
(user *model.User, _ string)
controller/auth_flow_test.go:330
MethodFillUserByProviderID
(*model.User, string)
controller/auth_flow_test.go:649
MethodFillUserByProviderID
(user *model.User, providerUserID string)
controller/auth_flow_test.go:844
MethodFillUserByProviderID
(user *model.User, id string)
oauth/telegram.go:189
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/github.go:210
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/oidc.go:164
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/linuxdo.go:171
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/discord.go:159
MethodFillUserByProviderID
(user *model.User, providerUserID string)
oauth/generic.go:292
MethodFillUserByTelegramId
()
model/user.go:1141
FunctionFilterChip
(props: { option: FilterOption active: boolean onClick: () => void })
web/src/features/pricing/components/pricing-sidebar.tsx:87
FunctionFilterDrawer
(props: { children: ReactNode })
web/src/components/ui/__tests__/portal-container.test.tsx:76
FunctionFilterFixture
()
web/src/features/usage-logs/components/__tests__/group-filter.test.tsx:49
FunctionFilterFixture
()
web/src/features/usage-logs/components/__tests__/log-type-filter.test.tsx:43
FunctionFilterSection
(props: FilterSectionProps)
web/src/features/pricing/components/pricing-sidebar.tsx:122
MethodFinalize
Finalize emits any calls left pending when an upstream closes without a finish-reason chunk. Calling Finalize more than once is safe.
relaykit/relayconvert/internal/oai_chat/to_gemini_chat_resp.go:326
MethodFinalize
(state *oaichat.ChatToResponsesStreamState)
relaykit/relayconvert/internal/gemini_chat/to_oai_responses_hosted_stream.go:40
MethodFinalize
(model string)
relaykit/relayconvert/internal/gemini_chat/to_oai_chat_resp.go:463
MethodFinalizeResponsesRequest
FinalizeResponsesRequest normalizes the effective history and thinking mode after channel parameter overrides, preserving unrelated raw JSON fields.
relay/channel/deepseek/responses_reasoning.go:18
FunctionFinalizeStreamResponseOpenAI2Claude
(info convmeta.Meta)
relaykit/relayconvert/internal/oai_chat/to_claude_messages_resp.go:421
FunctionFindPendingSystemTasks
(taskType string, limit int)
model/system_task.go:156
FunctionFixChannelsAbilities
(c *gin.Context)
controller/channel.go:379
FunctionFixture
(props: { initialSelected?: string[] allowCreate?: boolean disabled?: boolean })
web/src/components/multi-select/__tests__/selection.test.tsx:31
FunctionFixture
(props: { collapsibleOnMobile?: boolean })
web/src/components/data-table/toolbar/__tests__/mobile-filter.test.tsx:43
FunctionFixture
(props: { empty?: boolean; compact?: boolean })
web/src/components/data-table/core/__tests__/pagination.test.tsx:33
FunctionFixture
()
web/src/components/ui/__tests__/combobox.test.tsx:35
FunctionFixture
()
web/src/features/usage-logs/components/__tests__/mobile-filter.test.tsx:61
FunctionFixture
(props: { admin?: boolean visibility?: VisibilityState logs?: UsageLog[] loading?: boolean })
web/src/features/usage-logs/components/__tests__/mobile-card.test.tsx:58
FunctionFixture
(props: { reason?: 'sort'; viewMode?: 'card' | 'table' })
web/src/features/channels/components/__tests__/priority-guide.test.tsx:35
FunctionFixture
()
web/src/features/system-settings/maintenance/__tests__/log-settings.test.tsx:36
FunctionFixture
(props: { values?: Partial<typeof defaults> })
web/src/features/system-settings/auth/__tests__/oauth-settings.test.tsx:72
FunctionFixture
(props: { rpId?: string origins?: string legacy?: string children?: ReactNode })
web/src/features/system-settings/auth/__tests__/passkey-settings.test.tsx:81
FunctionFixture
()
web/src/features/system-settings/auth/__tests__/bot-protection-settings.test.tsx:48
FunctionFixture
()
web/src/features/system-settings/general/__tests__/pre-consume-settings.test.tsx:36
FunctionFixture
()
web/src/features/system-settings/integrations/__tests__/email-notifications.test.tsx:30
FunctionFixture
(props: { onSave?: (values: typeof defaults) => Promise<void> initial?: Partial<typeof defaults> isSavin
web/src/features/system-settings/models/__tests__/group-settings.test.tsx:59
FunctionFixture
(props: { batch?: boolean; onSuccess?: () => void })
web/src/features/models/__tests__/model-deletion.test.tsx:34
FunctionFlag
(props: { children: ReactNode })
web/src/features/home/components/hero-terminal-demo.tsx:513
FunctionFloatingWindow
(props: FloatingWindowProps)
web/src/components/floating-window.tsx:178
FunctionFlowCharts
(props: FlowChartsProps)
web/src/features/dashboard/components/flow/flow-charts.tsx:257
FunctionFlowNodeFilterControl
(props: FlowNodeFilterControlProps)
web/src/features/dashboard/components/flow/flow-node-filter.tsx:64
MethodFlush
()
relay/channel/openai/relay_responses_billing_test.go:87
FunctionFontConfig
()
web/src/components/config-drawer.tsx:323
← previousnext →10,001–10,100 of 15,592, ranked by callers