restore_file
Bring back an old version of a file. It is written as a new version; nothing in history is lost.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file to restore. | |
| version | Yes | The version number to bring back (see file_history); it's saved as a new version. | |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| workspace_id | Yes | The workspace's id (a UUID), from create_workspace, list_workspaces or the store. |