---
title: "Turn idle Chat hibernation on or off for this machine"
method: PATCH
path: "/api/v1/settings/chat-hibernation"
tags: ["settings"]
---

# Turn idle Chat hibernation on or off for this machine

`PATCH /api/v1/settings/chat-hibernation`

## Request

- Base URL: `http://127.0.0.1:3001`
- URL: `http://127.0.0.1:3001/api/v1/settings/chat-hibernation`
- Auth: none declared

## Request body

- UpdateChatHibernationRequest
  - `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
  - added the required property `versionRefresh` to the response with the `200` status
- **2026-10-15** `cdbb87fa6b57`: 1 info
  - added the optional property `harnessDefaults` to the response with the `200` status
- **2026-10-07** `9462f353626f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/settings/chat-hibernation/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)
