Restore a Deleted Item
restore_deletedUndo a soft-delete: restores a thesis, watchlist, signal, claim or report that delete_* archived. The record returns to the state it held before the delete — a closed thesis comes back closed, a paused signal comes back paused. When the item was deleted before the server began recording its prior state, prior_status_known is false and the response says which default was used. A restored report returns to its prior status AND visibility, so a report that was public comes back public and one that was private stays private; when that state predates the change that began recording it, the report returns private and prior_status_known is false rather than guessing at publication. Citation overrides are NOT restorable (that delete removes the row outright) — use the approval flow. Idempotent: restoring a live item succeeds and changes nothing. Tier: paid + free (sample rejected).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The record's id. For a watchlist this is the `watchlist_id` returned by `delete_watchlist` — NOT its name, because deleting a watchlist frees its name for reuse. | |
| kind | Yes | Which record type to restore. Citation overrides are not restorable. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| _meta | Yes | Provenance envelope — data lineage for every MCP response | |
| status | Yes | ||
| prior_status_known | Yes |