cURL
curl --request GET \ --url https://api.example.com/health
{ "200": {}, "500": {}, "503": {}, "name": "<string>", "version": "<string>", "status": "<string>", "docs": "<string>", "health": "<string>", "message": "<string>" }
Check API health and status
curl https://api.dependify.dev/
"Dependify API"
"2.0.0"
"running"
"/docs"
"/health"
{ "name": "Dependify API", "version": "2.0.0", "status": "running", "docs": "/docs", "health": "/health" }
curl https://api.dependify.dev/health
"healthy"
"unhealthy"
{ "status": "healthy", "version": "2.0.0", "message": "Dependify API is running" }
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD curl -f http://localhost:5001/health || exit 1
livenessProbe: httpGet: path: /health port: 5001 initialDelaySeconds: 10 periodSeconds: 30 readinessProbe: httpGet: path: /health port: 5001 initialDelaySeconds: 5 periodSeconds: 10
const checkApiVersion = async () => { const response = await fetch('https://api.dependify.dev/'); const info = await response.json(); console.log(`API Version: ${info.version}`); if (info.version !== expectedVersion) { console.warn('API version mismatch - update your client'); } };
const discoverApi = async () => { const response = await fetch('https://api.dependify.dev/'); const info = await response.json(); // Open interactive documentation window.open(`https://api.dependify.dev${info.docs}`, '_blank'); };
https://api.dependify.dev/docs
https://api.dependify.dev/redoc