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

Function retrieve

packages/trigger-sdk/src/v3/schedules/index.ts:49–57  ·  view source on GitHub ↗
(scheduleId: string)

Source from the content-addressed store, hash-verified

47 * @returns The retrieved schedule
48 */
49export function retrieve(scheduleId: string): ApiPromise<ScheduleObject> {
50 const apiClient = apiClientManager.client;
51
52 if (!apiClient) {
53 throw apiClientMissingError();
54 }
55
56 return apiClient.retrieveSchedule(scheduleId);
57}
58
59/**
60 * Updates a schedule

Callers

nothing calls this directly

Calls 2

apiClientMissingErrorFunction · 0.90
retrieveScheduleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…