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

Method createSchedule

packages/core/src/v3/apiClient/index.ts:253–259  ·  view source on GitHub ↗
(options: CreateScheduleOptions)

Source from the content-addressed store, hash-verified

251 }
252
253 createSchedule(options: CreateScheduleOptions) {
254 return zodfetch(ScheduleObject, `${this.baseUrl}/api/v1/schedules`, {
255 method: "POST",
256 headers: this.#getHeaders(false),
257 body: JSON.stringify(options),
258 });
259 }
260
261 listSchedules(options?: ListScheduleOptions) {
262 const searchParams = new URLSearchParams();

Callers 1

createFunction · 0.80

Calls 2

#getHeadersMethod · 0.95
zodfetchFunction · 0.90

Tested by

no test coverage detected