> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/release-notes/cloudeka-api/ai-billing-middleware/check.md).

# Check

Check for database connection

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI Billing Middleware","description":"API endpoints for AI Billing Middleware (base: /mid/billing)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"paths":{"/mid/billing/check":{"get":{"description":"Check for database connection","tags":["AI Billing Middleware","Auth"],"summary":"Check","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_billing_middleware__handler.HealthCheckResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_billing_middleware__handler.HealthCheckResponse"}}}}}}}},"components":{"schemas":{"ai_billing_middleware__handler.HealthCheckResponse":{"type":"object","properties":{"status":{"type":"string"}}}}}}
```
