Check database status

Beta
Check if a database is running, suspended, or starting up. Poll this endpoint to determine when a serverless database is ready. **Status Values:** - `running` - Database is active and accepting connections - `suspended` - Database is suspended (scale-to-zero), will auto-resume on first query - `starting` - Database is waking up - `failed` - Database failed to start - `unknown` - Status could not be determined

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

asset_idstringRequired

Response

Successful Response
asset_idstring
The database asset ID
providerstring

Database provider (‘neon_cloud’ or ‘kronos’)

statusenum
Standardized database status
Allowed values:
messagestring or null
Optional status message or error details

Errors