I am about to go live with a telephony voicebot so...
# ask-ai
b
I am about to go live with a telephony voicebot solution based on livekit, and I wonder if there is a standard or recommended way to do periodic healthchecks on the assistant, to enable level1 teams to know that the voicebot is functioning well
t
Thanks for reaching out, Albert. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To help you keep your LiveKit-based voicebot solution in great shape, here are a couple of friendly ways to perform periodic health checks: • Default Health Check Server: You can use the default health check server that listens on
http://0.0.0.0:8081/
. It’s a simple and effective option! • Custom Health Check Endpoint: If you prefer, you can create your own custom health check endpoint by adding a route handler for
/health
or
/healthz
. Just make sure it returns a 200 status code along with a response like "OK" when everything is running smoothly. While these health check endpoints are optional, they can really come in handy for monitoring and making sure your voicebot is always performing at its best. If you need any help setting them up, I’m here for you! Sources: Deploying to custom environments | LiveKit Docs | main.go