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

Function usage

cli/src/utils/codebuff-api.ts:496–501  ·  view source on GitHub ↗
(req: UsageRequest = {})

Source from the content-addressed store, hash-verified

494 },
495
496 usage(req: UsageRequest = {}): Promise<ApiResponse<UsageResponse>> {
497 // Auth is sent via Authorization header (includeAuth defaults to true)
498 return request<UsageResponse>('POST', '/api/v1/usage', {
499 fingerprintId: req.fingerprintId ?? 'cli-usage',
500 })
501 },
502
503 loginCode(req: LoginCodeRequest): Promise<ApiResponse<LoginCodeResponse>> {
504 return request<LoginCodeResponse>(

Callers

nothing calls this directly

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected