Cluster Executions
Cancel Execution
Changed onCancel a pending or processing cluster execution.
This cancels the Ray job (if running) and marks the execution as CANCELED.
Useful for:
- Cleaning up orphaned executions where the Ray job was never submitted
- Stopping long-running clustering jobs
- Handling executions stuck in pending/processing state
Only works for executions in 'pending' or 'processing' status.
Returns an error if the execution is already 'completed', 'failed', or 'canceled'.
post/v1/clusters/{cluster_id}/executions/{run_id}/cancel
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/clusters/{cluster_id}/executions/{run_id}/cancel
- Auth: HTTP bearer and API key in header X-Namespace
Path parameters
cluster_idstring required
Cluster ID
run_idstring required
Run ID to cancel
Response
Successful Response
unknown required
Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the API
- info