Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/workflows/[id]/restore/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createLogger } from
'@sim/logger'
2
import
{
3
assertFolderMutable,
4
FolderLockedError,
Callers
nothing calls this directly
Calls
13
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
parseRequest
Function · 0.90
checkSessionOrInternalAuth
Function · 0.90
getWorkflowById
Function · 0.90
getUserEntityPermissions
Function · 0.90
assertFolderMutable
Function · 0.90
performRestoreWorkflow
Function · 0.90
captureServerEvent
Function · 0.90
getErrorMessage
Function · 0.90
info
Method · 0.80
Tested by
no test coverage detected