GET
/
v1
/
databases
/
status
Get All Databases Status
curl --request GET \
  --url https://api.vertracloud.app/v1/databases/status \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "response": [
    {
      "id": "639d9aa35d8b4e559bcd066db4ddcc8c",
      "cpu": "0.00%",
      "ram": "0.00 MB",
      "storage": "0.00 MB",
      "running": false
    },
    {
      "id": "bdd13420cc10441290ddd25961ed71e6",
      "cpu": "1.25%",
      "ram": "128.50 MB",
      "storage": "256.00 MB",
      "running": true
    }
  ]
}
organization_id
string
The ID of the organization to filter databases by. If not provided, retrieves databases owned by the user.

Response

status
string
Indicates whether the call was successful. success if successful, error if not.
response
array
An array of database status objects.
{
  "status": "success",
  "response": [
    {
      "id": "639d9aa35d8b4e559bcd066db4ddcc8c",
      "cpu": "0.00%",
      "ram": "0.00 MB",
      "storage": "0.00 MB",
      "running": false
    },
    {
      "id": "bdd13420cc10441290ddd25961ed71e6",
      "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.
  • ORGANIZATION_NOT_FOUND: The specified organization does not exist.
  • USER_NOT_IN_ORGANIZATION: The user is not a member of the specified organization.
{
  "status": "error",
  "code": "UNAUTHORIZED"
}