---
title: "Restore a log entry deleted within the last 30 days, with its own number and content. Needs the update and delete scopes, like the entry delete."
method: POST
path: "/api/preview/capsules/{id}/entries/{entryId}/restore"
tags: ["log-entry"]
---

# Restore a log entry deleted within the last 30 days, with its own number and content. Needs the update and delete scopes, like the entry delete.

`POST /api/preview/capsules/{id}/entries/{entryId}/restore`

## Request

- Base URL: `https://symbol.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://symbol.chat/api/preview/capsules/{id}/entries/{entryId}/restore`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Secure-next-auth.session-token`
  - OAuth 2
    - Authorization code: `https://mcp.symbol.chat/authorize`
    - Token URL: `https://mcp.symbol.chat/token`

## Path parameters

- `id` string, required: UUID v4 string
- `entryId` string, required

## Response `200`

Successful response

- object
  - `entry` object, required
    - `anchor` string, required: In-page anchor for deep-linking (`#entry-<n>`).
    - `author` object, required: Resolved author attribution (name + person/agent kind).
      - `kind` 'person' | 'agent' | 'unknown', required: Author presentation: `person`, `agent` (mcp/api), or `unknown` (anonymized).
      - `name` string, nullable, required
      - `user_id` string, nullable, required
    - `author_client` 'web' | 'mcp' | 'mobile' | 'api', required: Surface the entry was written from.
    - `author_user_id` string, nullable, required
    - `content_md` string, nullable, required
    - `created_at` string, required
    - `edited_by` object, nullable: Who last edited the entry, or null when never edited.
      - `name` string, nullable, required
      - `user_id` string, required
    - `entry_at` string, required: Effective timestamp (ISO-8601).
    - `entry_number` integer, required: Gapless per-capsule ordinal — the entry's stable address.
    - `field_values` object, required: Structured entry values keyed by field name.
    - `id` string, required
    - `source_capsule_id` string, nullable: The note this entry was converted from, or null for an entry written directly.
    - `source_title` string, nullable: That note's title, or null when the entry has no source.
    - `updated_at` string, nullable, required
  - `fileRefs` object
  - `imageRefs` object

## Changes

- **2026-10-19** `5778844d1f9e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/symbol/apis/symbol-api/changes/api/preview/capsules/:id/entries/:entryId/restore/post.md)

---

[API](https://skmtc.dev/symbol/apis/symbol-api.md) - [All operations](https://skmtc.dev/symbol/apis/symbol-api/llms.txt) - [OpenAPI document](https://skmtc.dev/symbol/apis/symbol-api/revisions/3a2c4ebeab51?raw)
