Sazabi
APIThreads

Stop a thread's run

POST
/threads/{threadId}/stop

Stop a thread's in-flight run. Idempotent and best-effort: returns success even when the thread has no active run.

Path Parameters

threadId*string

Thread ID whose active run should be stopped.

Formatuuid

Response Body

application/json

curl -X POST "https://example.com/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08/stop"
{  "success": true}