GET
/
v1
/
databases
/
{id}
/
status
Get Database Status by ID
curl --request GET \
  --url https://api.vertracloud.app/v1/databases/{id}/status \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "response": {
    "cpu": "1.25%",
    "ram": "128.50 MB",
    "storage": "256.00 MB",
    "running": true
  }
}
id
string
required
The ID of the database to retrieve the status for. If the database belongs to an organization, include the organization ID in the format dbId-orgId.

Response

status
string
Indicates whether the call was successful. success if successful, error if not.
response
object
The status of the database.
{
  "status": "success",
  "response": {
    "cpu": "1.25%",
    "ram": "128.50 MB",
    "storage": "256.00 MB",
    "running": true
  }
}

Error Responses

status
string
Indicates whether the call was successful. error if not successful.
code
string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.
  • DATABASE_NOT_FOUND: The specified database does not exist or the user lacks access.
{
  "status": "error",
  "code": "UNAUTHORIZED"
}