POST /api/v1/forward/sessions/{session_id}/cancel
Requests cancellation of the current turn. If no turn is running, the endpoint returns success without starting a cancellation.
Headers
Path parameters
Example request
Example response
HTTP 202 AcceptedResponse fields
Errors
Notes
202 Acceptedmeans a cancellation was requested.200 OKmeans there was no currently running turn to cancel.- Confirm completion through Event Stream or by polling Session status.