projects

Get project cloud telemetry (Preview)

Plan: All plans

Returns cloud telemetry for a project's database, matching the editor's Cloud settings panel: disk-space usage, compute instance tier, lifecycle status and pause state, region, Postgres version, and resource-pressure alerts. Values are platform measurements cached for up to a few minutes; disk.timestamp reports when the platform measured it. Individual fields are omitted while their lookup is temporarily unavailable.

This operation is in public preview (beta) and served under /v1beta. Request and response shapes may change before it graduates to the stable /v1 surface.

get/v1beta/projects/{project_id}/cloud

Path parameters

project_idstring required

Project ID

Project ID

Query parameters

environment'production' | 'development'

Cloud environment to read. Defaults to production.

Cloud environment to read. Defaults to production.

Response

OK

environmentstring required

Cloud environment these values describe.

instance_tier'xs' | 's' | 'm' | 'ml' | 'l' | 'xl' | 'xxl' required

Current compute instance tier code.

instance_tier_labelstring required

Human-readable tier name as shown in the editor (Tiny, Mini, Small, Medium, Large, X-Large, 2X-Large).

pause_reasonstring

Why the instance was paused (e.g. credit_limit), when recorded. Only present on paused instances.

postgres_versionstring

Postgres major/minor version. Omitted while the lookup is temporarily unavailable.

regionstring

Region the database runs in. Omitted while the lookup is temporarily unavailable.

status'OK' | 'RESIZING' | 'UPGRADING' | 'RESTARTING' | 'COMING_UP' | 'RESTORING' | 'UNHEALTHY' | 'INACTIVE' | 'PAUSING' | 'UNKNOWN' | ''

Database instance lifecycle status. INACTIVE means paused. Cached for up to a minute; omitted while the lookup is temporarily unavailable.

user_pausedboolean required

True when a user (or the platform) explicitly paused this cloud instance.

Example response

{
  "disk": {
    "size_bytes": 8589934592,
    "timestamp": "2026-01-15T09:30:00Z",
    "used_bytes": 1073741824
  },
  "environment": "production",
  "instance_tier_label": "Small",
  "postgres_version": "17.4",
  "region": "us-east-1",
  "resource_pressure": {
    "resources": [
      {
        "alert_hours": 3,
        "label": "CPU",
        "latest_alert_at": "2026-01-15T09:30:00Z",
        "latest_value": 95.5,
        "resource_type": "cpu"
      }
    ],
    "window_hours": 24
  }
}

Changes