Javascript
import Worqhat from 'worqhat'; const client = new Worqhat({ apiKey: 'My API Key', }); const response = await client.health.check(); console.log(response.status);
{ "status": "ok", "uptime": 123.45, "version": "1.0.0", "environment": "production", "timestamp": "2025-07-24T17:00:00Z", "services": { "database": "ok" } }
Check if the server is running and get uptime information. This endpoint can be used for monitoring and alerting systems.
Server is healthy
The response is of type object.
object
Was this page helpful?