Cancel Execution
Cancel 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’.
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Response
Successful Response

