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

File route.ts

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

Source from the content-addressed store, hash-verified

1import { AuditAction, AuditResourceType, recordAudit } from '@sim/audit'
2import { type NextRequest, NextResponse } from 'next/server'
3import {
4 v1CreateKnowledgeBaseContract,

Callers

nothing calls this directly

Calls 10

withRouteHandlerFunction · 0.90
authenticateRequestFunction · 0.90
parseRequestFunction · 0.90
validateWorkspaceAccessFunction · 0.90
getKnowledgeBasesFunction · 0.90
handleErrorFunction · 0.90
createKnowledgeBaseFunction · 0.90
recordAuditFunction · 0.90
formatKnowledgeBaseFunction · 0.90

Tested by

no test coverage detected