MCPcopy Create free account
hub / github.com/AIScientists-Dev/Flowtrace / useTrace

Function useTrace

frontend/src/features/trace/api/trace-core.ts:128–135  ·  view source on GitHub ↗
(traceId: string | undefined)

Source from the content-addressed store, hash-verified

126}
127
128export function useTrace(traceId: string | undefined) {
129 return useQuery<TraceDetail>({
130 queryKey: traceKeys.detail(traceId ?? ''),
131 queryFn: () => apiClient.get(`/api/traces/${traceId}?lint=1`),
132 enabled: !!traceId,
133 staleTime: 10_000,
134 })
135}
136
137export interface RunSummary {
138 run_id: string

Callers 1

TraceReplyScrollFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…