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/users/me/api-keys/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ AuditAction, AuditResourceType, recordAudit } from
'@sim/audit'
2
import
{ db } from
'@sim/db'
3
import
{ apiKey } from
'@sim/db/schema'
4
import
{ createLogger } from
'@sim/logger'
Callers
nothing calls this directly
Calls
10
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
getApiKeyDisplayFormat
Function · 0.90
parseRequest
Function · 0.90
createApiKey
Function · 0.90
generateShortId
Function · 0.90
hashApiKey
Function · 0.90
recordAudit
Function · 0.90
error
Method · 0.80
eq
Function · 0.50
Tested by
no test coverage detected