Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/chat/manage/[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
{ db } from
'@sim/db'
3
import
{ chat } from
'@sim/db/schema'
4
import
{ createLogger } from
'@sim/logger'
Callers
nothing calls this directly
Calls
15
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
createErrorResponse
Function · 0.90
checkChatAccess
Function · 0.90
getEmailDomain
Function · 0.90
createSuccessResponse
Function · 0.90
getErrorMessage
Function · 0.90
parseRequest
Function · 0.90
getValidationErrorMessage
Function · 0.90
encryptSecret
Function · 0.90
performFullDeploy
Function · 0.90
recordAudit
Function · 0.90
Tested by
no test coverage detected