cURL
curl --request GET \ --url https://api.g2cplatform.com/v2/auth/health \ --header 'X-API-Key: <api-key>'
{ "status": "healthy", "timestamp": "2023-11-07T05:31:56Z", "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "connectivity": { "database": "connected", "blockchain": "connected" } }
Check the health status and connectivity of a specific apikey
API key for authenticating requests. Include in X-API-Key header.
Company health status retrieved successfully
healthy
degraded
unhealthy
Show child attributes
connected
disconnected