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/mothership/chat/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{
type
NextRequest, NextResponse } from
'next/server'
2
import
{
3
mothershipChatGetQuerySchema,
4
mothershipChatPostEnvelopeSchema,
Callers
nothing calls this directly
Calls
3
withRouteHandler
Function · 0.90
validationErrorResponse
Function · 0.90
handleUnifiedChatPost
Function · 0.90
Tested by
no test coverage detected