> ## Documentation Index
> Fetch the complete documentation index at: https://docs.renchi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /api/debug/db

> * Debug endpoint to test database connectivity DELETE THIS FILE BEFORE PRODUCTION * Visit: http://localhost:3000/api/debug/db

* Debug endpoint to test database connectivity DELETE THIS FILE BEFORE PRODUCTION \* Visit: [http://localhost:3000/api/debug/db](http://localhost:3000/api/debug/db)

## Response

Returns `unknown` on success.

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET https://your-domain.com/api/debug/db \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```typescript TypeScript theme={null}
  const response = await fetch('/api/debug/db', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': `Bearer ${token}`
    }
  });
  const data = await response.json();
  ```
</CodeGroup>
