API7 Docs
AISIX AI GatewayOpen-Source AISIX Gateway Admin APIGet Liveness Status

Get Liveness Status

GET /livez

GET /livez

Interactive request editor loads with JavaScript.

Query Parameters

verbose?string

When present, returns a detailed multi-line text report instead of the short ok response.

Response Body

text/plain

curl -X GET "http://127.0.0.1:3001/livez?verbose=1"

OK

"string"
Complete operation details and schema variants

GET /livez

Get Liveness Status

Process liveness: should this instance be restarted? Answers 200 whenever it answers at all, including throughout a graceful drain — draining is deliberate work, and restarting an instance that is finishing the requests it accepted would kill exactly those. Use /readyz for traffic eligibility (readiness), which is what reports the drain.

Parameters

  • verbose (query, string, optional): When present, returns a detailed multi-line text report instead of the short ok response.

Responses

  • 200: OK

cURL

curl -X GET 'http://127.0.0.1:3001/livez'