---
title: "Patch Session"
method: PATCH
path: "/api/sessions/{session_id}"
tags: ["sessions"]
---

# Patch Session

`PATCH /api/sessions/{session_id}`

## Path parameters

- `session_id` string, uuid, required

## Headers

- `Authorization` string, nullable
- `X-Fleet-User-Id` string, uuid, nullable
- `X-Fleet-Workspace-Id` string, uuid, nullable

## Request body

- SessionPatchRequest
  - `title` string, nullable
  - `status` 'active' | 'archived', nullable

## Response `200`

Successful Response

- SessionDetailResponse
  - `id` string, uuid, required
  - `title` string, required
  - `status` 'active' | 'archived', required
  - `checkpoint_version` integer, required
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-13** `f18c4c8586ca` — 2 breaking, 3 warning, 5 info
  - request property `status/anyOf[subschema #1]/` was restricted to a list of enum values
  - removed the required property `turn_count` from the response with the `200` status
  - removed the optional property `detail` from the response with the `422` status
  - added the new `active` enum value to the `status` response property for the response status `200`
  - …6 more
- **2026-07-13** `1afc045b25c0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/sessions/:session_id/patch.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/f18c4c8586ca/schema)
