MCPcopy
hub / github.com/triggerdotdev/trigger.dev / retrieveRun

Method retrieveRun

packages/core/src/v3/apiClient/index.ts:167–177  ·  view source on GitHub ↗
(runId: string)

Source from the content-addressed store, hash-verified

165 }
166
167 retrieveRun(runId: string) {
168 return zodfetch(
169 RetrieveRunResponse,
170 `${this.baseUrl}/api/v3/runs/${runId}`,
171 {
172 method: "GET",
173 headers: this.#getHeaders(false),
174 },
175 zodFetchOptions
176 );
177 }
178
179 listRuns(query?: ListRunsQueryParams): CursorPagePromise<typeof ListRunResponseItem> {
180 const searchParams = createSearchQueryForListRuns(query);

Callers 1

retrieveRunFunction · 0.80

Calls 2

#getHeadersMethod · 0.95
zodfetchFunction · 0.90

Tested by

no test coverage detected