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.

Get one file or folder, with its path and whether it is protected

Returns one file or folder by id, with its absolute path and whether a protection rule applies to it (protected, protection_kind). A file id is digits, a folder id is a uuid. Needs files:read.

Do this with AI

I want to get one file or folder, with its path and whether it is protected. Use the Tarkle API. Read the reference for this operation and follow it exactly: https://project-03b42162.restlessdocs.com/endpoint/getfile.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.