Status
The /status endpoint allows developers to check the current health and operational status of the LawyerGPT API. This is useful for monitoring uptime, debugging integration issues
Endpoint
GET https://api.lawyergptai.cc/v1/status
โ
Purpose
This endpoint returns real-time service diagnostics, including:
API availability
System latency
Model loading status
Versioning and maintenance info
๐งพ Example Request
curl https://api.lawyergptai.cc/v1/status
๐ค Response Example
{
"status": "online",
"version": "v1.0-beta",
"uptime": "99.98%",
"latency_ms": 112,
"last_updated": "2025-05-30T18:12:43Z",
"scheduled_maintenance": false
}
Response Fields
status
string
Either online
, degraded
, or offline
version
string
Currently deployed API version
uptime
string
Uptime percentage over the last 30 days
latency_ms
integer
Current average API latency in milliseconds
last_updated
string
ISO timestamp of the latest status update
scheduled_maintenance
boolean
Whether planned downtime is upcoming
Use Cases
Continuous health checks in your app or system
Display API status to users
Trigger alerts if the API becomes unresponsive
Monitor for upcoming planned maintenance
Error Codes
500
Internal server error
System is unreachable or not responding
Last updated