{
  "slug": "render-cli-key-value-commands-show-and-set-persistence-mode-7fff0d83c6d6",
  "title": "Render CLI Key Value commands show and set persistence mode",
  "tools": [
    "render"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-21T15:29:42.000Z",
  "announced_at": "2026-07-21T15:29:42.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating or updating a Key Value instance, pass `--persistence-mode` to set its mode; use `kv get` to inspect the instance details, including persistence mode. [CLI reference](https://render.com/docs/cli-reference)",
    "examples": [
      "render kv create --name <name> --region <region> --plan <plan> --persistence-mode <journal_snapshot|snapshot|off>",
      "render kv update <keyValueID|keyValueName> --persistence-mode <journal_snapshot|snapshot|off>",
      "render kv get <keyValueID|keyValueName>"
    ],
    "gotchas": [
      "Version: v2.22.0",
      "--name: Instance name; generated if omitted.",
      "--region: Instance region: frankfurt, ohio, oregon, singapore, or virginia.",
      "--plan: Instance plan: free, 256mb, 1g, 5g, 10g, 20g, or 40g; custom enterprise plan names are accepted.",
      "--persistence-mode: Set disk persistence to journal_snapshot, snapshot, or off. For create, omit to use the plan default. The docs do not state these values are mutually exclusive, but the option accepts one mode.",
      "<keyValueID|keyValueName> (required): Target Key Value ID or name for update/get. Name lookup uses the active workspace; use an ID or disambiguate duplicate names with --environment.",
      "Prerequisite: Use Render CLI v2.22.0 or later for the release-note change. Authenticate with `render login` or an API key; the CLI docs describe API-key authentication for automation.",
      "Prerequisite: Data persistence is unavailable for free Key Value instances."
    ]
  },
  "why_it_matters": "Create or update a Key Value instance and inspect or set its persistence mode.",
  "before": "Journal + Snapshot was the behavior of all paid Key Value instances before the persistence-mode feature.",
  "sources": [
    "https://github.com/render-oss/cli/releases/tag/v2.22.0",
    "https://render.com/docs/cli-reference",
    "https://github.com/render-oss/cli/blob/v2.22.0/CHANGELOG.md",
    "https://render.com/docs/key-value",
    "https://render.com/changelog/specify-disk-persistence-behavior-for-paid-key-value-instances"
  ],
  "rank": 0.96029,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-f97b47c69497ffc6-0:rescue",
    "evidence_hash": "3ad98cc854ad07ddb59de6ac23a3e0e36621a347f87524e40b5aeb5588f4b55a"
  },
  "review": {
    "draft_hash": "58abd62fe6aed2f07f32d9d6806d860f299629ce372bff3b5f02fd47767e88c5",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
