Managed Databases

List the managed databases of the account, or of one project with X-Project-ID.

Each database includes its live numbers in metrics (connections, storage, operations per second), sampled every minute; metrics is null until the first sample.

get/api/v1/databases

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/databases
  • Auth
    API key in header X-API-Key

Headers

X-Project-IDstring uuid

Optional project ID to scope the list. Omit to list across all accessible projects.

Response

List of databases

successboolean

Example response

{
  "databases": [
    {
      "name": "orders-db",
      "engine": "postgres",
      "engine_version": "16",
      "region": "us-east",
      "plan_id": 5,
      "storage_gb": 25,
      "connection_host": "a1b2c3d4.db.raffusercloud.com",
      "connection_port": 5432,
      "billing_type": "payg",
      "price_per_hour": 0.010945,
      "monthly_price": 7.99,
      "public_port": 20104,
      "public_dns_hostname": "a1b2c3d4.public.db.raffusercloud.com",
      "public_allowlist": [
        "203.0.113.0/24"
      ]
    }
  ]
}

Changes

    • warning

      added the new moving enum value to the // response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property format changed from uuid to no format for status

    • breaking

      the // response's property format changed from uuid to no format for status

    • warning

      added the new resizing enum value to the // response property for the response status

    • warning

      added the new restoring enum value to the // response property for the response status

    • info

      added the new optional header request parameter X-Project-ID

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status