Skip to content

Health

The indexes/{index_name}/health endpoint provides information about the health of a Marqo index.


Get health

GET /indexes/{index_name}/health

Gets the health of a Marqo index.

Example

curl -XGET http://localhost:8882/indexes/my-first-index/health
results = mq.index("my-first-index").health()

Response (Healthy Instance): 200 OK

{
  "status": "green",
  "inference": {
    "status": "green"
  },
  "backend": {
    "status": "green",
    "memoryIsAvailable": true,
    "storageIsAvailable": true
  }
}

Response (Full Storage): 200 OK

{
  "status": "yellow",
  "inference": {
    "status": "green"
  },
  "backend": {
    "status": "yellow",
    "memoryIsAvailable": false,
    "storageIsAvailable": false
  }
}