Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/wand/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ db } from
'@sim/db'
2
import
{ workflow } from
'@sim/db/schema'
3
import
{ createLogger } from
'@sim/logger'
4
import
{ eq } from
'drizzle-orm'
Callers
nothing calls this directly
Calls
15
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
parseRequest
Function · 0.90
verifyWorkspaceMembership
Function · 0.90
getBYOKKey
Function · 0.90
checkBillingBlocked
Function · 0.90
checkActorUsageLimits
Function · 0.90
extractResponseText
Function · 0.90
parseResponsesUsage
Function · 0.90
updateUserStatsForWand
Function · 0.85
info
Method · 0.80
Tested by
no test coverage detected