Dec 2025 - New! Caching input tokens unlocks immediate, automatic ~30% credit savings on supported models
cURL
curl --request GET \ --url http://localhost:3000/api/test/db
{ "message": "0: disconnected, 1: connected, 2: connecting, 3: disconnecting, 4: invalid auth", "status": 1 }
Returns the current status with explanatory message
Storage status retrieved successfully
Description of database connection states
"0: disconnected, 1: connected, 2: connecting, 3: disconnecting, 4: invalid credentials"
Current database connection status (0-4)
0
1
2
3
4
Was this page helpful?