MCPcopy
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

1import { db } from '@sim/db'
2import { workflow } from '@sim/db/schema'
3import { createLogger } from '@sim/logger'
4import { eq } from 'drizzle-orm'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
parseRequestFunction · 0.90
getBYOKKeyFunction · 0.90
checkBillingBlockedFunction · 0.90
checkActorUsageLimitsFunction · 0.90
extractResponseTextFunction · 0.90
parseResponsesUsageFunction · 0.90
updateUserStatsForWandFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected