Stop Thread Execution
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
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
thread_id
thread_id
The unique thread ID to stop
Response
Thread cancelled successfully
message
Status message about the cancellation
status
New status of the thread (always ‘cancelled’)
stopped_at
ISO timestamp when thread was cancelled
thread_id
The thread ID that was cancelled
