Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/refly-ai/refly
/ functions
Functions
5,783 in github.com/refly-ai/refly
⨍
Functions
5,783
◇
Types & classes
2,071
↓ 4 callers
Method
batchSaveData
* Batch save vector points * @param points Array of vector points to save * @returns Result of the batch save operation
apps/api/src/modules/common/vector-search/backend/interface.ts:136
↓ 4 callers
Method
broadcast
* Broadcast auth event to other tabs
packages/ai-workspace-common/src/utils/auth-channel.ts:87
↓ 4 callers
Method
buildCacheKey
(resultId: string, version: number)
apps/api/src/modules/step/step.service.ts:21
↓ 4 callers
Function
buildContentDisposition
(filename?: string | null, asAttachment = true)
apps/api/src/utils/filename.ts:36
↓ 4 callers
Function
buildNodeAgentSystemPrompt
(options?: BuildNodeAgentSystemPromptOptions)
packages/skill-template/src/prompts/node-agent.ts:11
↓ 4 callers
Method
buildOutputPrefix
* Build S3 output prefix for a job
apps/api/src/modules/lambda/lambda.service.ts:79
↓ 4 callers
Function
checkHttpCache
(req: Request, options: CacheOptions)
apps/api/src/utils/http-cache.ts:32
↓ 4 callers
Function
checkSettingsField
( options: Options<CheckSettingsFieldData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2564
↓ 4 callers
Function
checkToolOauthStatus
( options: Options<CheckToolOauthStatusData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:796
↓ 4 callers
Method
cleanupTempDir
(tempDir: string)
apps/api/src/modules/knowledge/parsers/pandoc.parser.ts:28
↓ 4 callers
Method
clearWebhookCache
* Clear webhook cache
apps/api/src/modules/webhook/webhook.service.ts:731
↓ 4 callers
Method
config
* Returns clone of server config for inspection purposes. * * Client does not support config modifications.
packages/skill-template/src/adapters/client.ts:379
↓ 4 callers
Method
convert
(param: { content: string; from: string; to: string })
apps/api/src/modules/misc/misc.service.ts:1105
↓ 4 callers
Function
convertObjectToKeyValueArray
(obj: Record<string, string> = {})
packages/ai-workspace-common/src/components/settings/tools-config/McpServerForm.tsx:67
↓ 4 callers
Method
countResultCreditUsage
(user: User, resultId: string, version?: number)
apps/api/src/modules/credit/credit.service.ts:1388
↓ 4 callers
Method
createCanvasWithState
(user: User, param: UpsertCanvasRequest, state: CanvasState)
apps/api/src/modules/canvas/canvas.service.ts:697
↓ 4 callers
Method
createJobRecord
* Create a LambdaJob record in the database
apps/api/src/modules/lambda/lambda.service.ts:86
↓ 4 callers
Function
createNodeWithContext
( id: string, entityId: string, contextItems: IContextItem[], )
packages/canvas-common/src/data.test.ts:32
↓ 4 callers
Method
createOrUpdateScheduledRecord
* Create or update a scheduled record for the next execution * This record represents a future execution that hasn't started yet
apps/api/src/modules/schedule/schedule.service.ts:767
↓ 4 callers
Function
createOtherNode
(id: string, type = 'document')
packages/canvas-common/src/history.test.ts:14
↓ 4 callers
Method
createShareForResource
(user: User, param: CreateShareRequest)
apps/api/src/modules/share/share-creation.service.ts:620
↓ 4 callers
Method
createSpan
* Create a span within a trace
packages/observability/src/trace-manager.ts:102
↓ 4 callers
Method
deductCreditsAndCreateUsage
* Deduct credits from user's recharge records and create usage record * If insufficient credits, create debt record instead of negative balance
apps/api/src/modules/credit/credit.service.ts:762
↓ 4 callers
Function
domToPng
(node: Node, options?: ModernScreenshot.Options)
packages/ai-workspace-common/src/utils/lazy-loader/modules/modern-screenshot.ts:27
↓ 4 callers
Function
downloadExportJobResult
( options: Options<DownloadExportJobResultData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1533
↓ 4 callers
Method
duplicateDriveFile
* Duplicate a drive file to a new canvas
apps/api/src/modules/drive/drive.service.ts:1618
↓ 4 callers
Function
ensureHealthy
( wrapper: ISandboxWrapper, operation: LifecycleOperation, )
apps/api/src/modules/tool/sandbox/wrapper/base.ts:105
↓ 4 callers
Function
ensureIndexedDbSupport
()
packages/ai-workspace-common/src/utils/indexeddb.ts:79
↓ 4 callers
Function
ensureStartNode
* Ensure nodes array contains at least one start node * If no start node exists, prepend one at the beginning
apps/api/src/modules/copilot-autogen/copilot-autogen.service.ts:63
↓ 4 callers
Method
estimatePointsSize
* Estimate the size of points in bytes * @param points Array of vector points * @returns Estimated size in bytes
apps/api/src/modules/common/vector-search/backend/interface.ts:173
↓ 4 callers
Method
executeFromCanvasData
* Execute workflow from canvas data (snapshot) * Shared logic used by both executeWorkflowApp and ScheduleProcessor * @param user The user execu
apps/api/src/modules/workflow-app/workflow-app.service.ts:584
↓ 4 callers
Method
expire
(key: string, seconds: number)
apps/api/src/modules/common/redis.service.ts:258
↓ 4 callers
Function
exportCanvas
( options: Options<ExportCanvasData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:941
↓ 4 callers
Function
exportDocument
( options: Options<ExportDocumentData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1484
↓ 4 callers
Function
exportToolsetDefinitions
( options?: Options<ExportToolsetDefinitionsData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:3204
↓ 4 callers
Method
fetch
(input: string[])
packages/providers/src/embeddings/jina.ts:101
↓ 4 callers
Function
fetchApiKeys
()
packages/ai-workspace-common/src/components/canvas/integration-docs/hooks/use-api-keys.ts:11
↓ 4 callers
Function
fetchConfig
()
packages/ai-workspace-common/src/components/canvas/webhook/webhook-config-tab.tsx:33
↓ 4 callers
Function
fetchKeys
()
packages/ai-workspace-common/src/components/canvas/webhook/api-key-management-tab.tsx:29
↓ 4 callers
Function
fetchNodeContent
(node: Node)
packages/ai-workspace-common/src/hooks/canvas/use-get-node-content.ts:5
↓ 4 callers
Function
filterAndDedupeUrls
(urls: string[])
apps/api/src/modules/tool/utils/token.ts:72
↓ 4 callers
Method
finalizeCurrentAIMessage
* Finalize the current AI message and add it to the messages list
apps/api/src/utils/message-aggregator.ts:224
↓ 4 callers
Function
findOrCreateStep
(steps: ActionStep[], stepMeta: ActionStepMeta)
packages/ai-workspace-common/src/hooks/canvas/use-invoke-action.ts:164
↓ 4 callers
Function
findTargetDirectory
( startDir: string, dirname: string, maxDepth = 10, )
apps/api/src/utils/runtime.ts:87
↓ 4 callers
Function
findVarMeta
(tokenId: string, tokenName: string)
packages/ai-workspace-common/src/components/canvas/launchpad/rich-chat-input/utils.ts:106
↓ 4 callers
Method
flushClose
(size = 2)
packages/utils/src/editor/to_markdown.ts:384
↓ 4 callers
Method
formatMessage
(level: LogLevel, message: string)
packages/cli/src/utils/logger.ts:53
↓ 4 callers
Method
formatSize
* Format bytes to human readable size
apps/api/src/modules/tool/tool-execution/pre-execution/composio/composio-pre.service.ts:366
↓ 4 callers
Function
genActionMessageID
()
packages/utils/src/id.ts:331
↓ 4 callers
Function
genBaseRespDataFromError
(exception: any)
apps/api/src/utils/exception.ts:4
↓ 4 callers
Function
genCanvasVersionId
()
packages/utils/src/id.ts:272
↓ 4 callers
Function
genCopilotSessionID
()
packages/utils/src/id.ts:96
↓ 4 callers
Function
genMemoID
()
packages/utils/src/id.ts:140
↓ 4 callers
Function
genProviderItemID
()
packages/utils/src/id.ts:218
↓ 4 callers
Function
genResourceUuid
(name: string)
apps/api/src/utils/id.ts:5
↓ 4 callers
Function
generateCronExpression
(config: ScheduleConfig)
packages/ai-workspace-common/src/components/common/schedule-popover-content.tsx:85
↓ 4 callers
Method
generateId
()
packages/observability/src/langfuse-listener.ts:133
↓ 4 callers
Method
generateJobId
* Generate a unique job ID
apps/api/src/modules/lambda/lambda.service.ts:72
↓ 4 callers
Function
getActionResult
( options: Options<GetActionResultData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1742
↓ 4 callers
Method
getActiveOrLatestExecution
* Get the active execution if exists, otherwise get the latest execution * This is used for CLI commands that need the "current" execution by workf
apps/api/src/modules/workflow/workflow.service.ts:1241
↓ 4 callers
Function
getAuthConfig
( options?: Options<unknown, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:667
↓ 4 callers
Function
getAvailableFileCount
(storageUsage: StorageUsageMeter | undefined)
packages/utils/src/quota.ts:3
↓ 4 callers
Function
getAvailableVouchers
( options?: Options<unknown, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:3381
↓ 4 callers
Function
getCacheKey
(text: string, source: string, target: string)
packages/ai-workspace-common/src/components/translation-wrapper/index.tsx:9
↓ 4 callers
Function
getCanvasCommissionByCanvasId
( options: Options<GetCanvasCommissionByCanvasIdData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2713
↓ 4 callers
Function
getCanvasData
( options: Options<GetCanvasDataData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:928
↓ 4 callers
Function
getCanvasDetail
( options: Options<GetCanvasDetailData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:911
↓ 4 callers
Function
getCanvasState
( options: Options<GetCanvasStateData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1045
↓ 4 callers
Function
getCanvasTransactions
( options: Options<GetCanvasTransactionsData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1079
↓ 4 callers
Function
getCodeArtifactDetail
( options: Options<GetCodeArtifactDetailData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1635
↓ 4 callers
Function
getCodeLanguage
(filename: string)
packages/ai-workspace-common/src/utils/file-type.ts:145
↓ 4 callers
Function
getCollabToken
( options?: Options<unknown, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:881
↓ 4 callers
Function
getComposioConnectionStatus
( options: Options<GetComposioConnectionStatusData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:3285
↓ 4 callers
Method
getContext
* Get the current handler context * @returns Handler context
apps/api/src/modules/tool/dynamic-tooling/core/handler.ts:53
↓ 4 callers
Function
getCopilotSessionDetail
( options: Options<GetCopilotSessionDetailData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1832
↓ 4 callers
Function
getCreditBalance
( options?: Options<unknown, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2645
↓ 4 callers
Function
getCreditUsageByCanvasId
( options: Options<GetCreditUsageByCanvasIdData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2696
↓ 4 callers
Function
getCreditUsageByExecutionId
( options: Options<GetCreditUsageByExecutionIdData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2679
↓ 4 callers
Function
getCreditUsageByResultId
( options: Options<GetCreditUsageByResultIdData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2662
↓ 4 callers
Function
getDebugLog
()
packages/skill-template/src/adapters/tools.ts:28
↓ 4 callers
Function
getDefaultModelTypes
(itemId: string)
packages/ai-workspace-common/src/components/settings/model-config/index.tsx:288
↓ 4 callers
Function
getDocumentDetail
( options: Options<GetDocumentDetailData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1467
↓ 4 callers
Function
getExportJobStatus
( options: Options<GetExportJobStatusData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1516
↓ 4 callers
Function
getFileCategory
(contentType: string)
packages/utils/src/file.ts:199
↓ 4 callers
Function
getFormDefinition
( options?: Options<unknown, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2581
↓ 4 callers
Method
getJSON
* Retrieve a JSON-serialized value from Redis * @param key - Redis key * @returns The parsed value or null if not found or invalid
apps/api/src/modules/common/redis.service.ts:328
↓ 4 callers
Function
getLastTransaction
(state: CanvasState)
packages/canvas-common/src/sync.ts:293
↓ 4 callers
Function
getLatestMessages
(resultId: string)
packages/ai-workspace-common/src/hooks/canvas/use-invoke-action.ts:286
↓ 4 callers
Method
getLatestWorkflowPlan
* Get the latest version of a workflow plan by copilot session ID
apps/api/src/modules/workflow/workflow-plan.service.ts:213
↓ 4 callers
Function
getOpenapiConfig
( options: Options<GetOpenapiConfigData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2344
↓ 4 callers
Function
getParsedReasoningContent
(reasoningContent?: string)
packages/utils/src/content-parser.ts:4
↓ 4 callers
Function
getPromptSuggestions
( options?: Options<unknown, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:3364
↓ 4 callers
Function
getPtcConfig
(configService: ConfigService)
apps/api/src/modules/tool/ptc/ptc-config.ts:41
↓ 4 callers
Method
getQueueUrl
* Get SQS queue URL for a task type
apps/api/src/modules/lambda/lambda.service.ts:168
↓ 4 callers
Function
getResourceDetail
( options: Options<GetResourceDetailData, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:1330
↓ 4 callers
Function
getResourceFiles
(variable: WorkflowVariable)
packages/utils/src/variable-helpers.ts:6
↓ 4 callers
Function
getRuntime
()
packages/utils/src/env.ts:72
↓ 4 callers
Function
getScheduleConfig
(configService: ConfigService)
apps/api/src/modules/schedule/schedule.constants.ts:59
↓ 4 callers
Function
getSettings
( options?: Options<unknown, ThrowOnError>, )
packages/openapi-schema/src/services.gen.ts:2536
↓ 4 callers
Method
getSkillPackage
( skillId: string, options?: { includeWorkflows?: boolean; userId?: string; shareId?: string }, )
apps/api/src/modules/skill-package/skill-package.service.ts:370
← previous
next →
501–600 of 5,783, ranked by callers