Stop Thread Execution

Beta
Stop a running thread execution. This will stop the thread if it is currently running and mark it as cancelled.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

thread_idstringRequired
The unique thread ID to stop

Response

Thread cancelled successfully
messagestring
Status message about the cancellation
statusstring

New status of the thread (always ‘cancelled’)

stopped_atstring
ISO timestamp when thread was cancelled
thread_idstring
The thread ID that was cancelled

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error
502
Bad Gateway Error