---
title: "Set Linked Stay"
method: PUT
path: "/api/v1/logs/{subject}/{log_id}/stay-link"
tags: ["logs"]
---

# Set Linked Stay

`PUT /api/v1/logs/{subject}/{log_id}/stay-link`

Point this log at a stay by hand, superseding any existing link.

A manual link outranks later automatic resolution — it is written verified,
so the resolver cannot move it out from under the person who made it.

## Path parameters

- `subject` 'voice' | 'text' | 'email' | 'booking', required
- `log_id` string, uuid, required

## Request body

- LinkStayRequest — Point one booking section of a thread at a stay.
  - `booking_record_id` string, uuid, required
  - `reference` string, nullable

## Response `200`

Successful Response

- LinkedStayRead — The stay a thread was tied to, and how. Carries ``match_method`` because an unexplained link is not auditable: an operator correcting a wrong link needs to know whether it came from a quoted reference or a model reading a surname.
  - `booking_record_id` string, uuid, required
  - `reservation_id` string, required
  - `property_name` string, required
  - `checkin` string, date, required
  - `checkout` string, date, required
  - `guest_name` string, nullable
  - `source` string, nullable
  - `match_method` string, required

## Other responses

- `422` — Validation Error

## Changes

> 17 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/logs/:subject/:log_id/stay-link/put.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/94579f820778?raw)
