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

File route.ts

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

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { authorizeWorkflowByWorkspacePermission } from '@sim/platform-authz/workflow'
3import { type NextRequest, NextResponse } from 'next/server'
4import { guardrailsValidateContract } from '@/lib/api/contracts'

Callers

nothing calls this directly

Calls 14

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
parseRequestFunction · 0.90
assertPermissionsAllowedFunction · 0.90
checkActorUsageLimitsFunction · 0.90
convertInputToStringFunction · 0.85
executeValidationFunction · 0.85
recordUsageFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected