Upgrade readiness status APIedit

Check the status of your cluster.

Warning

The underlying Upgrade Assistant concepts are stable, but the APIs for managing Upgrade Assistant are experimental.

Requestedit

GET /api/upgrade_assistant/status

Response codesedit

200
Indicates a successful call.

Exampleedit

The API returns the following:

{
  "readyForUpgrade": false,
  "cluster": [
    {
      "message": "Cluster deprecated issue",
      "details": "...",
      "level": "warning",
      "url": "https://docs.elastic.co/..."
    }
  ],
  "indices": [
    {
      "message": "Index was created before 6.0",
      "details": "...",
      "index": "myIndex",
      "level": "critical",
      "reindex": true, 
      "url": "https://docs.elastic.co/..."
    }
  ]
}

To fix indices with the reindex attribute, set to true using the Start or resume reindex API.