Query parameters
-
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to
-1
.Values are
-1
or0
. -
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to
-1
.Values are
-1
or0
.
GET
/_slm/status
Console
GET _slm/status
resp = client.slm.get_status()
const response = await client.slm.getStatus();
response = client.slm.get_status
$resp = $client->slm()->getStatus();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_slm/status"
Response examples (200)
A successful response from `GET _slm/status`.
{
"operation_mode": "RUNNING"
}