* Fork an existing session at a specific message
(options: Options<SessionForkData, ThrowOnError>)
| 535 | * Fork an existing session at a specific message |
| 536 | */ |
| 537 | public fork<ThrowOnError extends boolean = false>(options: Options<SessionForkData, ThrowOnError>) { |
| 538 | return (options.client ?? this._client).post<SessionForkResponses, unknown, ThrowOnError>({ |
| 539 | url: "/session/{id}/fork", |
| 540 | ...options, |
| 541 | headers: { |
| 542 | "Content-Type": "application/json", |
| 543 | ...options.headers, |
| 544 | }, |
| 545 | }) |
| 546 | } |
| 547 | |
| 548 | /** |
| 549 | * Abort a session |
no outgoing calls
no test coverage detected