---
title: "Update Lorebook Entry"
method: PUT
path: "/lorebooks/entries/update/{entry_id}"
tags: ["lorebooks"]
---

# Update Lorebook Entry

`PUT /lorebooks/entries/update/{entry_id}`

## Path parameters

- `entry_id` string, uuid, required

## Request body

- LorebookEntryUpdate
  - `title` string, nullable
  - `content` string, nullable
  - `keys` string[], nullable
  - `priority` integer, nullable
  - `tags` string[], nullable
  - `visibility` string, nullable
  - `enabled` boolean, nullable
  - `conditions` object, nullable

## Response `200`

Successful Response

- LorebookEntry
  - `title` string, required
  - `content` string, required
  - `keys` string[]
  - `priority` integer
  - `tags` string[]
  - `visibility` string
  - `enabled` boolean
  - `conditions` object
  - `id` string, uuid, required
  - `lorebook_id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
