MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

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

Source from the content-addressed store, hash-verified

1import { type NextRequest, NextResponse } from 'next/server'
2import { v1KnowledgeSearchContract } from '@/lib/api/contracts/v1/knowledge'
3import { parseRequest } from '@/lib/api/server'
4import { checkActorUsageLimits } from '@/lib/billing/calculations/usage-monitor'

Callers

nothing calls this directly

Calls 15

withRouteHandlerFunction · 0.90
authenticateRequestFunction · 0.90
parseRequestFunction · 0.90
validateWorkspaceAccessFunction · 0.90
checkActorUsageLimitsFunction · 0.90
checkKnowledgeBaseAccessFunction · 0.90
validateTagValueFunction · 0.90
buildUndefinedTagsErrorFunction · 0.90
handleTagOnlySearchFunction · 0.90
getQueryStrategyFunction · 0.90
handleTagAndVectorSearchFunction · 0.90

Tested by

no test coverage detected