---
title: "Choose whether idle open sessions move to newly installed harness releases"
method: PATCH
path: "/api/v1/settings/version-refresh"
tags: ["settings"]
---

# Choose whether idle open sessions move to newly installed harness releases

`PATCH /api/v1/settings/version-refresh`

## Request

- Base URL: `http://127.0.0.1:3001`
- URL: `http://127.0.0.1:3001/api/v1/settings/version-refresh`
- Auth: none declared

## Request body

- UpdateVersionRefreshRequest
  - `enabled` boolean, nullable, required

## Response `200`

OK

- SettingsResponse
  - `chatHarnesses` string[], required
  - `chatHibernationEnabled` boolean, required
  - `client` string, required
  - `cloudControlPlaneUrl` string, required
  - `cloudEnabled` boolean, required
  - `cloudOffering` boolean, required
  - `defaultSessionMode` 'chat' | 'tui', required
  - `harnessDefaults` object
  - `localEnabled` boolean, required
  - `trackerIntakeEnabled` boolean, required
  - `versionRefresh` boolean, required: After a harness update, idle open sessions restart on the new release instead of running the old one until they happen to restart.

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error
- `501`: Not Implemented

## Changes

- **2026-10-21** `8f160e6183cd`: 3 info
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `400`
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `500`
  - removed the `agent_switch_saga` enum value from the `reporting_owner` response property for the response status `501`
- **2026-10-19** `f6d1ae4671f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/settings/version-refresh/patch.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) - [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) - [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/61d7efd08578?raw)
