Enriched availability: status, response_ms, gateway version, process uptime and dependency status (ASR/OCR). May return HTTP 503 during startup or if the service is unavailable — a Retry-After: 10 header is then added automatically.
GET
/status
Request body
The following parameters can be included in the request body:
Parameters
Successful response
The following fields are returned in a successful response:
Response fields
status
string
Required
Current gateway status: "ok" or "starting".
response_ms
number
Required
Response generation time on the gateway side, in milliseconds.
version
string
Required
Current gateway version (e.g. "0.3.0").
uptime_seconds
number
Required
Time elapsed since process startup, in seconds.
checks
object
Required
Status of internal dependencies — object {asr: boolean, ocr: boolean}.
Examples
Code examples for using this endpoint:
curl
curl -X GET "https://api-endpoints.alphaedge-ai.com/status"
python
import requests
r = requests.get("https://api-endpoints.alphaedge-ai.com/status", timeout=30)
print(r.status_code, r.json())
typescript
const res = await fetch("https://api-endpoints.alphaedge-ai.com/status");
console.log(res.status, await res.json());
Response
Sample API response:
json
{
"status": "ok",
"response_ms": 0.02,
"version": "0.3.0",
"uptime_seconds": 367.89,
"checks": { "asr": true, "ocr": true }
}