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

Method cancelRun

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

Source from the content-addressed store, hash-verified

239 }
240
241 cancelRun(runId: string) {
242 return zodfetch(
243 CanceledRunResponse,
244 `${this.baseUrl}/api/v2/runs/${runId}/cancel`,
245 {
246 method: "POST",
247 headers: this.#getHeaders(false),
248 },
249 zodFetchOptions
250 );
251 }
252
253 createSchedule(options: CreateScheduleOptions) {
254 return zodfetch(ScheduleObject, `${this.baseUrl}/api/v1/schedules`, {

Callers

nothing calls this directly

Calls 2

#getHeadersMethod · 0.95
zodfetchFunction · 0.90

Tested by

no test coverage detected