Health
This endpoint lets a load balancer or uptime monitor check that the Agent Hub service is up. It is unauthenticated and returns a fixed marker; it does not report the health of any dependency.
Check service health
GET /agent-hub-api/api/agent/health
Returns a marker confirming the service is running.
A lightweight liveness check. It returns a fixed healthy marker whenever the service can answer the request, and takes no parameters.
- Authentication
- None
Parameters
No parameters.
Returns
Returns a status marker.
Request
curl "$VDF_BASE_URL/agent-hub-api/api/agent/health" const response = await fetch(`${process.env.VDF_BASE_URL}/agent-hub-api/api/agent/health`);
if (!response.ok) throw new Error(`Request failed with status ${response.status}`);
const data = await response.json(); import os
import requests
response = requests.get(
f"{os.environ['VDF_BASE_URL']}/agent-hub-api/api/agent/health",
timeout=30,
)
response.raise_for_status()
data = response.json() Response 200
{
"status": "healthy",
"service": "agent_service"
}