MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/knowledge/search/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { authorizeWorkflowByWorkspacePermission } from '@sim/platform-authz/workflow'
3import { getErrorMessage } from '@sim/utils/errors'
4import { type NextRequest, NextResponse } from 'next/server'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
parseJsonBodyFunction · 0.90
validationErrorResponseFunction · 0.90
checkKnowledgeBaseAccessFunction · 0.90
validateTagValueFunction · 0.90
buildUndefinedTagsErrorFunction · 0.90
checkActorUsageLimitsFunction · 0.90

Tested by

no test coverage detected