Health check

GEThttps://api.paxalabs.com/health

GET /health is the liveness probe: process status plus which products and models the server can serve right now. Public and never rate limited.

View as Markdown
curl https://api.paxalabs.com/health
{
  "status": "ok",
  "products": {
    "tts": true,
    "translation": true,
    "ocr": true,
    "extraction": true,
    "stt": true
  },
  "models": {
    "paxa-tts-flash-v1": true,
    "paxa-tts-flash-v2": true,
    "paxa-stt-lite-v1-preview": true,
    "paxa-stt-lite-realtime-v1-preview": true,
    "paxa-ocr-lite-v1": true,
    "paxa-doc-extract-v1": true,
    "paxa-translation-lite-v1": true
  }
}

Answers even when the database or Redis is down. A product listed false answers 503 provider_unavailable on its endpoints without charging.

Response#

The server is accepting requests; products and models list what it can serve.

status"ok"Required
productsobjectRequired

Per-product availability.

Show properties
products.ttsbooleanRequired

Speech synthesis is being served right now, by at least one model.

products.voice_designbooleanRequired

Voice design (POST /v1/voices/design) is being served right now.

products.translationbooleanRequired

Translation is being served right now.

products.ocrbooleanRequired

Document reading is being served right now.

products.extractionbooleanRequired

Document Extraction is being served right now.

products.sttbooleanRequired

Transcription is being served right now.

modelsobjectRequired

Per-model availability, keyed by model id; provider_unavailable errors point here.