logoAccess

Health check (detailed services)

GET
/api/v1/health/services

Returns detailed service health with connection info. Protected by basic auth.

Authorization

basicAuth
headerAuthorizationBasic <token>

Standard HTTP Basic authentication (username + password).

Header Parameters

authorization?string

Response Body

Response for status 200

application/json
  1. response
status*string
services*
timestamp*number
curl -X GET 'https://api.tryaccess.xyz/api/v1/health/services'
{  "status": "string",  "services": {    "database": {      "healthy": true,      "connection": null,      "lastChecked": 0,      "responseTimeMs": 0    },    "redis": {      "ping": "string",      "healthy": true,      "connection": null,      "lastChecked": 0,      "responseTimeMs": 0    }  },  "timestamp": 0}

How is this guide?