curl --request GET \
--url https://api.together.xyz/v1/compute/clusters/{cluster_id}/instances/{optional_instance_id}/remediations \
--header 'Authorization: Bearer <token>'{
"remediations": [
{
"id": "<string>",
"cluster_id": "<string>",
"instance_id": "<string>",
"mode": "REMEDIATION_MODE_VM_ONLY",
"trigger": "REMEDIATION_TRIGGER_MANUAL",
"state": "PENDING_APPROVAL",
"reason": "<string>",
"active_health_check_run_id": "<string>",
"passive_health_check_event_id": "<string>",
"requested_by": "<string>",
"create_time": "2023-11-07T05:31:56Z",
"reviewed_by": "<string>",
"review_time": "2023-11-07T05:31:56Z",
"review_comment": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"update_time": "2023-11-07T05:31:56Z"
}
],
"has_next": true,
"next_page_token": "<string>"
}Lists remediations for an instance or cluster.
curl --request GET \
--url https://api.together.xyz/v1/compute/clusters/{cluster_id}/instances/{optional_instance_id}/remediations \
--header 'Authorization: Bearer <token>'{
"remediations": [
{
"id": "<string>",
"cluster_id": "<string>",
"instance_id": "<string>",
"mode": "REMEDIATION_MODE_VM_ONLY",
"trigger": "REMEDIATION_TRIGGER_MANUAL",
"state": "PENDING_APPROVAL",
"reason": "<string>",
"active_health_check_run_id": "<string>",
"passive_health_check_event_id": "<string>",
"requested_by": "<string>",
"create_time": "2023-11-07T05:31:56Z",
"reviewed_by": "<string>",
"review_time": "2023-11-07T05:31:56Z",
"review_comment": "<string>",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"update_time": "2023-11-07T05:31:56Z"
}
],
"has_next": true,
"next_page_token": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
To list remediations on a specific node, pass the node's instance ID.
To list remediations for all nodes in a cluster, pass - as a wildcard for the instance ID.
Maximum results to return.
Pagination token from previous request.
Filter by state(s). Returns remediations matching any of the specified states.
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.PENDING_APPROVAL, PENDING, RUNNING, SUCCEEDED, FAILED, CANCELLED, AUTO_RESOLVED Order by expression.
Was this page helpful?