Stop Stream
Stop the active stream for a conversation and release its lock.
Two things happen, in order:
- Signal the worker to stop generating (stop:{conv} list → BLPOP in the worker's stop_listener).
- Release the stream lock so the user's follow-up message doesn't 409 while the worker is still unwinding — it can't interrupt mid-tool-call and still drains background hydration before its finally, so the lock could otherwise be held for seconds after the user clicked Stop.
Both are gated on an actually-active stream, so we never plant a stale stop: signal that a future turn's worker would consume. We signal before clearing the lock so the current worker's already-blocked BLPOP wins the signal ahead of any (later-starting) follow-up worker.
post/chats/{conversation_id}/stop
Request
- Base URLhttps://stardrift.ai (the document declares no server; this is the origin it was published from)
- URLhttps://stardrift.ai/chats/{conversation_id}/stop
- Authnone declared
Path parameters
conversation_idstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 34 revisions of this API.