Health Status Query API
Function
Checks whether the service status is normal.
- You are advised to call this API every 5 seconds.
- This API supports the prefill-decode disaggregation scenario.
Format
Operation type: GET
URL: https://{ip}:{port}/v1/health
- Preferably set {ip} to POD_IP in Configuration Description. If the environment variable is not configured, set {ip} to the value of manage_ip parameter in the ms_coordinator.json configuration file.
- Preferably set {port} to {status_port} in Starting Coordinator. If the parameter is not configured, set {port} to the value of the status_port parameter in the ms_coordinator.json configuration file.
Request Parameters
None
Usage Example
Request example:
GET https://{ip}:{port}/v1/health
Response example:
If the service is normal, no content is displayed.
Output Description
- Status code 200: The service status is normal and the message body is empty.
- If no response is returned, the service is abnormal.
Parent topic: Intra-cluster Communication APIs