MCPcopy
hub / github.com/simstudioai/sim / fetchLogDetail

Function fetchLogDetail

apps/sim/hooks/queries/logs.ts:143–154  ·  view source on GitHub ↗
(
  logId: string,
  workspaceId: string,
  signal?: AbortSignal
)

Source from the content-addressed store, hash-verified

141}
142
143export async function fetchLogDetail(
144 logId: string,
145 workspaceId: string,
146 signal?: AbortSignal
147): Promise<WorkflowLogDetail> {
148 const { data } = await requestJson(getLogDetailContract, {
149 params: { id: logId },
150 query: { workspaceId },
151 signal,
152 })
153 return data
154}
155
156interface UseLogsListOptions {
157 enabled?: boolean

Callers 3

LogsFunction · 0.90
useLogDetailFunction · 0.70
prefetchLogDetailFunction · 0.70

Calls 1

requestJsonFunction · 0.90

Tested by

no test coverage detected