Skip to content

Add /health endpoint for API health check#61

Open
vanshjohri09-collab wants to merge 1 commit intosugarlabs:mainfrom
vanshjohri09-collab:add-health-endpoint
Open

Add /health endpoint for API health check#61
vanshjohri09-collab wants to merge 1 commit intosugarlabs:mainfrom
vanshjohri09-collab:add-health-endpoint

Conversation

@vanshjohri09-collab
Copy link

@vanshjohri09-collab vanshjohri09-collab commented Mar 10, 2026

Description

This PR adds a /health endpoint to the Sugar-AI API.

The endpoint provides a simple way to check if the service is running and responding correctly. It returns a small JSON response containing the service status and version information.

Health check endpoints are commonly used by deployment and monitoring systems to verify that an API is available and functioning properly.

Example Response

{
"status": "ok",
"service": "Sugar-AI",
"version": "1.0"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant