Monitor and manage the App Framework server with health checks, readiness probes, and graceful shutdown operations.
Infrastructure management
Comprehensive infrastructure management API for monitoring system health, checking readiness status, and performing graceful shutdown operations. Essential for deployment orchestration and container health checks.
Authentication
No authentication required for infrastructure management endpoints
Endpoints
Health check
GET/server/healthRetrieve detailed system health metrics including operating system information, hardware specifications, network configuration, and resource utilization. Provides comprehensive diagnostics for monitoring, troubleshooting, and capacity planning.
Response
platformstringREQUIRED"Darwin"platform_releasestringREQUIRED"24.6.0"platform_versionstringREQUIRED"Darwin Kernel Version 24.6.0"architecturestringREQUIRED"arm64"hostnamestringREQUIRED"hostname.local"ip_addressstringREQUIRED"192.168.1.100"mac_addressstringREQUIRED"aa:bb:cc:dd:ee:ff"processorstringREQUIRED"arm"ramstringREQUIRED"16 GB"Error Codes
Invalid or missing authentication token
Insufficient permissions for infrastructure management operations
Server encountered an error while processing the request
Server is temporarily unable to handle the request
Code examples - Health check
- cURL
- JavaScript
- Python
curl -X GET "http://localhost:8000/server/health"
const response = await fetch('http://localhost:8000/server/health', {
method: 'GET'
});
const health = await response.json();
console.log('Server health:', health);
import requests
response = requests.get(
'http://localhost:8000/server/health'
)
health_info = response.json()
print(f"Platform: {health_info['platform']}")
print(f"RAM: {health_info['ram']}")