(runId: string)
| 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`, { |
nothing calls this directly
no test coverage detected