Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/tools/elevenlabs/audio/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createLogger } from
'@sim/logger'
2
import
{ getErrorMessage } from
'@sim/utils/errors'
3
import
{ generateId } from
'@sim/utils/id'
4
import
type
{ NextRequest } from
'next/server'
Callers
nothing calls this directly
Calls
15
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateId
Function · 0.90
checkInternalAuth
Function · 0.90
parseRequest
Function · 0.90
getValidationErrorMessage
Function · 0.90
assertToolFileAccess
Function · 0.90
downloadFileFromStorage
Function · 0.90
getMimeTypeFromExtension
Function · 0.90
validateAlphanumericId
Function · 0.90
readResponseToBufferWithLimit
Function · 0.90
getBaseUrl
Function · 0.90
Tested by
no test coverage detected