Batch Terminate Executions
API Reference
Batch Terminate Executions
Terminate multiple executions in a single request.
This endpoint allows terminating multiple running executions at once. Each execution is processed independently, so some may succeed while others fail.
Args: request: FastAPI request object (contains kubiya_token in state) batch_request: Request body with list of execution IDs and termination reason organization: Current organization from auth db: Database session
Returns: BatchTerminateResponse with results for each execution
Note:
- Maximum 100 executions per request
- Each execution is terminated independently
- Failed terminations don’t affect other executions in the batch
POST
Batch Terminate Executions
Documentation Index
Fetch the complete documentation index at: https://docs.kubiya.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter your Kubiya API token (format: Bearer )
Body
application/json
Response
Successful Response
Response after batch terminating executions