System
System Info
Get basic server information and status, including version, environment, and available features.
GET https://api.worqhat.com/
Response
namestringrequired
The name of the API service
versionstringrequired
The current version of the API
environmentstringrequired
The environment the API is running in (e.g., "production", "staging")
Code Examples
get-server-info.js
import Worqhat from 'worqhat';const client = new Worqhat({apiKey: process.env.WORQHAT_API_KEY,});const response = await client.getServerInfo();console.log(response.environment);response.json
{"name": "WorqHat API","version": "1.0.0","environment": "production"}