Remediation
Remediation reject
Rejects a pending remediation.
Only remediations with state PENDING_APPROVAL can be rejected.
On REJECT: state changes to CANCELLED. The reviewed_by, review_time, and review_comment fields are populated on the remediation after rejection.
POST
Together AI SDK (Python)
Authorizations
Response
200 - application/json
OK
Remediation represents a node remediation request for an instance. An instance can have multiple remediations over time (e.g., failed attempts followed by retries).
Remediation mode specifies how the remediation should be performed.
REMEDIATION_MODE_VM_ONLY: Deletes the VM and provisions a new one on any available host.REMEDIATION_MODE_HOST_AWARE: Cordons the host, deletes the VM, and provisions a new one on a different host.REMEDIATION_MODE_EVICT_WITHOUT_REPLACEMENT: Evicts the VM without provisioning a replacement.REMEDIATION_MODE_REBOOT_VM: Reboots the VM in place.REMEDIATION_MODE_HOST_POWER_CYCLE: Cordons and power-cycles the bare-metal host while preserving host and node identity.
Available options:
REMEDIATION_MODE_VM_ONLY, REMEDIATION_MODE_HOST_AWARE, REMEDIATION_MODE_EVICT_WITHOUT_REPLACEMENT, REMEDIATION_MODE_REBOOT_VM, REMEDIATION_MODE_HOST_POWER_CYCLE RemediationTrigger specifies how the remediation was triggered.
REMEDIATION_TRIGGER_MANUAL: A user-initiated remediation (either via web UI or API call).REMEDIATION_TRIGGER_AUTOMATED: A system-initiated remediation that requires approval.
Available options:
REMEDIATION_TRIGGER_MANUAL, REMEDIATION_TRIGGER_AUTOMATED RemediationState represents the lifecycle state of a remediation.
PENDING_APPROVAL: Awaiting approval before processing can begin.PENDING: Approved and queued for processing.RUNNING: Actively being processed.SUCCEEDED: Successfully completed.FAILED: Failed with an error.CANCELLED: Cancelled by user or system.AUTO_RESOLVED: The underlying issue was automatically resolved before processing.QUARANTINING: Cordoning or preparing the host before remediation.QUARANTINED: Host has been cordoned or isolated for remediation.
Available options:
PENDING_APPROVAL, PENDING, RUNNING, SUCCEEDED, FAILED, CANCELLED, AUTO_RESOLVED, QUARANTINING, QUARANTINED Together AI SDK (Python)