Skip to main content
POST
Cancel a running chat stream

Body

application/json
streamId
string

The id from POST /chat/start. Cancels that run.

session
string

With siteId, cancels the run attached to this session instead.

siteId
string

Response

{ status: "cancel_requested" }, or already_terminal when the run had already finished.