MCPcopy Index your code
hub / github.com/CommonstackAI/UncommonRoute / fetchTraces

Function fetchTraces

frontend/dashboard/src/api.ts:480–481  ·  view source on GitHub ↗
(limit = 30, errorsOnly = false)

Source from the content-addressed store, hash-verified

478}
479
480export const fetchTraces = (limit = 30, errorsOnly = false) =>
481 get<TraceListResponse>(`/v1/traces?limit=${limit}${errorsOnly ? "&errors_only=1" : ""}`);
482
483export const fetchTraceDetail = (requestId: string) =>
484 get<TraceRecord>(`/v1/traces/${encodeURIComponent(requestId)}`);

Callers 2

loadFunction · 0.90
loadFunction · 0.90

Calls 1

getFunction · 0.85

Tested by

no test coverage detected