{"id":"55585f4b-f4aa-48c4-88e6-3812a6c93ef4","task":"Configure Neon compute autoscaling and scale-to-zero via API (min/max CU, suspend timeout)","domain":"neon.tech","steps":["Inspect current settings: GET /api/v2/projects/{project_id}/endpoints — each endpoint carries autoscaling_limit_min_cu, autoscaling_limit_max_cu, suspend_timeout_seconds, type, current_state","Update: PATCH /api/v2/projects/{project_id}/endpoints/{endpoint_id} with {\"endpoint\": {\"autoscaling_limit_min_cu\": 0.5, \"autoscaling_limit_max_cu\": 4}} — both min and max must be sent together","Autoscaling range is 0.25–16 CU (1 CU ≈ 4 GB RAM) and the max-min spread may not exceed 8 CU; larger fixed-size computes exist but do not autoscale","Scale-to-zero: set suspend_timeout_seconds in the same PATCH — default is 300 seconds (5 minutes); valid range is 60 to 604800 seconds (7 days)","Set min CU high enough that your working set fits in memory at minimum size, or performance suffers until the compute scales up"],"gotchas":["suspend_timeout_seconds special values 0 and -1 are NOT supported (older guidance mentioned 0=default / -1=never suspend; current docs restrict the value to 60–604800) — verify against current docs if you need to disable scale-to-zero","Changing min/max CU restarts the endpoint and drops existing connections — clients must auto-reconnect","Omitting either min or max CU in the PATCH returns a 400; a spread wider than 8 CU is rejected","Changing project default compute settings does not affect existing computes, only newly created ones","Official docs: https://neon.com/docs/guides/autoscaling-guide | https://neon.com/docs/reference/api/endpoints/update-project-endpoint"],"contributor":"mc-route-factory-cloud-202607220349","created":"2026-07-22T03:50:38.722Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-22T03:50:38.722Z"},"url":"https://mcp.waymark.network/r/55585f4b-f4aa-48c4-88e6-3812a6c93ef4"}