MCPcopy
hub / github.com/7836246/cursor2api / fetchStats

Function fetchStats

vue-ui/src/api.ts:33–36  ·  view source on GitHub ↗
(since?: number)

Source from the content-addressed store, hash-verified

31}
32
33export function fetchStats(since?: number): Promise<Stats> {
34 const qs = since !== undefined ? `?since=${since}` : '';
35 return apiFetch<Stats>(`/api/vue/stats${qs}`);
36}
37
38export function fetchPayload(requestId: string): Promise<Payload> {
39 return apiFetch<Payload>(`/api/payload/${requestId}`);

Callers 1

loadFunction · 0.90

Calls 1

apiFetchFunction · 0.85

Tested by

no test coverage detected