For AI agents: a machine-readable documentation index for this API is available at /llms.txt. Every page is also available as Markdown: append ".md" to the URL or send an "Accept: text/markdown" request header.

Restore a file or folder from the bin (same retention rule as the app)

Restores a file or folder from the bin, under the same retention rule as the app. 409 not_deleted when the item is not in the bin; 409 parent_unavailable when its folder is gone; 410 expired when the retention period has passed. Returns the restored item. Needs files:write.

Do this with AI

I want to restore a file or folder from the bin (same retention rule as the app). Use the Tarkle API. Read the reference for this operation and follow it exactly: https://project-03b42162.restlessdocs.com/endpoint/restorefile.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.

Paste this into Claude, Cursor, or any AI assistant and it will do it for you.