Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/v1/knowledge/[id]/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ AuditAction, AuditResourceType, recordAudit } from
'@sim/audit'
2
import
{
type
NextRequest, NextResponse } from
'next/server'
3
import
{
4
v1DeleteKnowledgeBaseContract,
Callers
nothing calls this directly
Calls
9
withRouteHandler
Function · 0.90
authenticateRequest
Function · 0.90
parseRequest
Function · 0.90
resolveKnowledgeBase
Function · 0.90
formatKnowledgeBase
Function · 0.90
handleError
Function · 0.90
updateKnowledgeBase
Function · 0.90
recordAudit
Function · 0.90
deleteKnowledgeBase
Function · 0.90
Tested by
no test coverage detected