Skip to content
ComPDF
DemoAPI ReferenceFAQ

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub

Health Status API

Check whether ComPDF Self-hosted and its dependencies are reachable.

ItemValue
Request URLGET http://localhost:8080/api/v1/status
AuthenticationPublic

Request Example

bash
curl -X GET "http://localhost:8080/api/v1/status"

Response

json
{
  "code": 200,
  "msg": "success",
  "data": {
    "infra": {
      "mysql": "ok",
      "redis": "ok"
    },
    "app": "ok",
    "web": "ok",
    "ts": "2026-07-07T00:00:00.000Z"
  }
}
FieldDescription
data.infra.mysqlMySQL status: ok or down.
data.infra.redisRedis status: ok or down.
data.appApplication health status: ok or down.
data.webWeb entry status. If this endpoint responds, it is ok.
data.tsServer timestamp in ISO 8601 format.