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

# Update Lorebook Entry

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

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/lorebooks/entries/update/{entry_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## 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.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
