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

File route.ts

apps/sim/app/api/v1/knowledge/[id]/documents/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 v1ListKnowledgeDocumentsContract,

Callers

nothing calls this directly

Calls 14

withRouteHandlerFunction · 0.90
authenticateRequestFunction · 0.90
parseRequestFunction · 0.90
resolveKnowledgeBaseFunction · 0.90
getDocumentsFunction · 0.90
serializeDateFunction · 0.90
handleErrorFunction · 0.90
validateFileTypeFunction · 0.90
checkActorUsageLimitsFunction · 0.90
uploadWorkspaceFileFunction · 0.90
createSingleDocumentFunction · 0.90

Tested by

no test coverage detected