MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/providers/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { db } from '@sim/db'
2import { account } from '@sim/db/schema'
3import { createLogger } from '@sim/logger'
4import { getErrorMessage, toError } from '@sim/utils/errors'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
checkInternalAuthFunction · 0.90
parseRequestFunction · 0.90
checkWorkspaceAccessFunction · 0.90
assertPermissionsAllowedFunction · 0.90
authorizeCredentialUseFunction · 0.90
toErrorFunction · 0.90
getErrorMessageFunction · 0.90
executeProviderRequestFunction · 0.90
sanitizeToolCallsFunction · 0.85

Tested by

no test coverage detected