Restore a deleted item
restore_deletedRestores a saved model or a run you deleted with delete_graph or delete_run, putting it back exactly as it was. Use this when the user wants back something they deleted, within 30 days of deleting it; find its kind and id with list_deleted. Restoring a model brings back the runs that were deleted with it, and their share links work again. A run whose model is still deleted cannot be restored on its own (parent_deleted): restore the model first. After the 30 days it is refused with restore_window_expired and the item cannot be recovered. Restoring something that is not deleted changes nothing. It returns the kind, the id and when it was restored. It needs a Neumann account: send your key, or your signed-in token, in the Authorization header as a Bearer credential. No Neumann tool takes an api_key argument. Example: {"kind":"graph","id":"8f3c2a"} Cost: free -- it debits no credits and spends none of your free daily runs -- but it needs an account; an anonymous caller gets account_required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"id": "<id>"
},
"name": "restore_deleted"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the item to restore: the graph_id or run_id, as list_deleted reported it. | |
| kind | Yes | What to restore: graph for a saved model (its runs come back with it), or run for one result. Use the kind list_deleted reported. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the item restored, as you passed it. | |
| kind | Yes | graph or run, as you passed it. | |
| billing | No | Who you are and what this call cost. | |
| restored_at | Yes | When it was restored, as an ISO-8601 time. |