latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

health

Health Endpoint

🚨 USE /health/liveliness to health check the proxy 🚨

See more 👉 https://docs.litellm.ai/docs/proxy/health

Check the health of all the endpoints in config.yaml

To run health checks in the background, add this to config.yaml:

general_settings:
    # ... other settings
    background_health_checks: True

else, the health checks will be run on models when /health is called.

get/health

Query parameters

modelstring nullable

Specify the model name (optional)

Specify the model name (optional)

model_idstring nullable

Specify the model ID (optional)

Specify the model ID (optional)

Response

Successful Response

{"stackTrail":"paths:/health:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}