Stop a session that has started
Response
cancelled. Stopping is safe to repeat: once the session has stopped, further calls return status: "noop". A session paused at awaiting_human can be stopped the same way.
A stopped session can still take a follow-up message.
Withdraw a waiting turn
A turn sent while the agent’s phone is busy waits for the phone (queued: true). To withdraw it before it starts:
Withdraw a waiting message
A follow-up message sent while its session is still working waits behind it, and its response hasqueued: true and an invocationId. A waiting turn’s response carries an invocationId too. To withdraw either before it starts:
alreadyCancelled: true. An unknown invocationId returns 404.
