Batch Stop Threads

Beta

Stop multiple running thread executions in a single request. This endpoint accepts thread IDs (the same IDs used with the single-thread stop endpoint). Each thread is stopped independently - failures for individual threads do not affect other threads in the batch.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
thread_idslist of stringsRequired
List of thread IDs to stop

Response

Batch stop completed (check results for individual thread status)

failed_countinteger
Number of threads that failed to stop
resultslist of objects
Detailed results for each thread
stopped_countinteger
Number of threads successfully stopped
total_requestedinteger
Total number of threads requested to stop

Errors