---
title: "Update Client Memory"
method: POST
path: "/travel-agent/clients/{client_id}/memory"
tags: ["travel-agent"]
---

# Update Client Memory

`POST /travel-agent/clients/{client_id}/memory`

Update memory for a specific client (deletions only).

## Path parameters

- `client_id` string, uuid, required

## Request body

- UpdateMemoryRequest — Request model for POST /memory - full memory replacement. User must provide the version they're updating from to prevent conflicts.
  - `flight_preferences` string[], required
  - `other_transport_preferences` string[], required
  - `accomodation_preferences` string[], required
  - `personal_information` string[], required
  - `version` integer, required

## Response `200`

Successful Response

- MemoryResponse — Response model for GET /memory - includes all memory fields plus metadata.
  - `flight_preferences` string[], required
  - `other_transport_preferences` string[], required
  - `accomodation_preferences` string[], required
  - `personal_information` string[], required
  - `version` integer, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
