MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / listRuns

Method listRuns

packages/core/src/v3/apiClient/index.ts:179–197  ·  view source on GitHub ↗
(query?: ListRunsQueryParams)

Source from the content-addressed store, hash-verified

177 }
178
179 listRuns(query?: ListRunsQueryParams): CursorPagePromise<typeof ListRunResponseItem> {
180 const searchParams = createSearchQueryForListRuns(query);
181
182 return zodfetchCursorPage(
183 ListRunResponseItem,
184 `${this.baseUrl}/api/v1/runs`,
185 {
186 query: searchParams,
187 limit: query?.limit,
188 after: query?.after,
189 before: query?.before,
190 },
191 {
192 method: "GET",
193 headers: this.#getHeaders(false),
194 },
195 zodFetchOptions
196 );
197 }
198
199 listProjectRuns(
200 projectRef: string,

Callers 1

listRunsFunction · 0.80

Calls 3

#getHeadersMethod · 0.95
zodfetchCursorPageFunction · 0.90

Tested by

no test coverage detected