Valuein
Discovery

Restore a Deleted Item

restore_deleted
Benchmark and above

Undo a delete: restores a thesis, watchlist, signal, claim or report that `delete_*` archived, a rule, citation override or uploaded document that `delete_*` removed, a memory entry removed by `delete_agent_memory` (id = its key), an inbox item hidden by `dismiss_inbox_item` (...

Example Call

example_call.pypython
# Using the Valuein MCP server from Python (via MCP SDK)# Or call directly from Claude / Cursor after setup result = await client.call_tool(    "restore_deleted",    arguments={    "kind": "thesis",    "id": "EXAMPLE"})print(result)

Direct tool call:restore_deleted(...)

Inputs

ParameterTypeRequiredDescription
kind"thesis" | "watchlist" | "signal" | "claim" | "report" | "rule" | "citation_override" | "uploaded_document" | "agent_memory" | "inbox_item" | "scheduled_task" | "agent"
required
Which record type to restore.
idstring
required
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. For a rule, the `rule_id`; for a citation override, its `fact_id`; for an uploaded document, its `upload_id`; for agent_memory the memory key (up to 128 chars); for inbox_item the `inbox_id`; for scheduled_task the `task_id`; for agent the `agent_id`.

Output Fields

kindidstatusprior_status_known

Example Response

Illustrative
response.jsonjson
{  "kind": null,  "id": null,  "status": "ACTIVE",  "prior_status_known": null}

Shape only — field names match the live schema; values are placeholders, not real filings. See MCP server for the structured response shape.

Notes

Available from the Benchmark plan and above.

Try this tool

Get tokenAll tools
CategoryDiscovery
PIT-safeNo
Min planBenchmark
Inputs2 (2 required)

Plan Access

Sample (guest)
Not included
Benchmark (token)
Available
Pro
Available
Institutional
Available