{
  "slug": "doctl-databases-storage-autoscale-get-and-update-a298ec9097fa",
  "title": "doctl databases storage-autoscale get and update",
  "tools": [
    "doctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-03T05:09:53.000Z",
  "announced_at": "2026-06-03T05:09:53.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "To inspect a database cluster’s storage autoscaling settings, run `doctl databases storage-autoscale get <cluster_uuid>`. To update them, run `doctl databases storage-autoscale update <cluster_uuid> --enabled <true|false>`; when enabling, you may also set the threshold percentage and GiB increment.",
    "examples": [
      "doctl databases storage-autoscale get <cluster_uuid>",
      "doctl databases storage-autoscale update <cluster_uuid> --enabled true --threshold-percent 60 --increment-gib 40"
    ],
    "gotchas": [
      "Version: v1.160.1",
      "<database-cluster-id> (required): ID of the database cluster to inspect or update.",
      "--enabled (required): Enable or disable storage autoscaling; value must be `true` or `false`.",
      "--threshold-percent: Storage usage percentage that triggers autoscaling; used when enabled. Current docs give a default of 80 when omitted.",
      "--increment-gib: Storage in GiB to add when autoscaling triggers; used when enabled. Current docs give a default of 10 when omitted.",
      "--access-token: API v2 access token; alternatively authenticate doctl with an API token.",
      "--api-url: Override the default API endpoint.",
      "Prerequisite: Install doctl and authenticate it with a DigitalOcean API token. The install guide says to create a token with read and write access."
    ]
  },
  "why_it_matters": "Inspect or update storage autoscaling options for a database cluster.",
  "sources": [
    "https://github.com/digitalocean/doctl/releases/tag/v1.160.1",
    "https://github.com/digitalocean/doctl/pull/1850",
    "https://docs.digitalocean.com/reference/doctl/reference/databases/storage-autoscale/get/",
    "https://docs.digitalocean.com/reference/doctl/reference/databases/storage-autoscale/update/",
    "https://docs.digitalocean.com/reference/doctl/how-to/install/"
  ],
  "rank": 0.97028,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-17c2f420bbac3b85-0:gate",
    "evidence_hash": "bada8c4f164377d824857c50efa7d5e2c8891965432832049eb06ce08ea51a97"
  },
  "review": {
    "draft_hash": "9e06aa92f179a3c63c5c4f47eda67f815b1f8b83a06d5ffd7e83f3a3a53f2aa2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
