MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/users/me/usage-logs/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { toError } from '@sim/utils/errors'
3import { type NextRequest, NextResponse } from 'next/server'
4import { usageLogsQuerySchema } from '@/lib/api/contracts/user'

Callers

nothing calls this directly

Calls 9

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
getUserUsageLogsFunction · 0.90
dollarsToCreditsFunction · 0.90
toErrorFunction · 0.90
debugMethod · 0.80
errorMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected