Skip to content

Check API health

GET
/health
curl --request GET \
--url http://127.0.0.1:8000/health

Return a lightweight liveness response without accessing the database or model runtime.

Successful Response

Media typeapplication/json
HealthResponse

Liveness status for the API process.

object
status
required
Status

The API process is ready to accept requests.

string
Allowed value: ok
Example
{
"status": "ok"
}

Unexpected server error.

Media typeapplication/json
ApiErrorResponse

Error returned by request validation or a ParseHawk domain service.

object
detail
required
Any of:
string
Examplegenerated
{
"detail": [
{}
]
}