MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / POST

Function POST

web/src/app/api/v1/docs-search/route.ts:13–25  ·  view source on GitHub ↗
(req: NextRequest)

Source from the content-addressed store, hash-verified

11import { logger, loggerWithContext } from '@/util/logger'
12
13export async function POST(req: NextRequest) {
14 return postDocsSearch({
15 req,
16 getUserInfoFromApiKey,
17 logger,
18 loggerWithContext,
19 trackEvent,
20 getUserUsageData,
21 consumeCreditsWithFallback,
22 fetch,
23 ensureSubscriberBlockGrant,
24 })
25}

Callers

nothing calls this directly

Calls 1

postDocsSearchFunction · 0.90

Tested by

no test coverage detected