Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/logs/stats/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ dbReplica } from
'@sim/db'
2
import
{ workflow, workflowExecutionLogs } from
'@sim/db/schema'
3
import
{ createLogger } from
'@sim/logger'
4
import
{ and, eq, sql } from
'drizzle-orm'
Callers
nothing calls this directly
Calls
14
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
checkWorkspaceAccess
Function · 0.90
expandFolderIdsWithDescendants
Function · 0.90
buildFilterConditions
Function · 0.90
isZodError
Function · 0.90
parse
Method · 0.80
error
Method · 0.80
warn
Method · 0.65
set
Method · 0.65
get
Method · 0.65
Tested by
no test coverage detected