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.

Copy a file inside storage (body: parent_id, name; a taken name is 409, plan limits apply)

Copies a file inside storage, with no download or re-upload. parent_id is the destination folder (null for the library root; omitted keeps the original's folder) and name the new name (omitted keeps the original's). A copy never renames silently: a taken name is 409 name_taken. Plan limits apply (413 storage_full, 413 file_too_large). Folders cannot be copied (400 not_supported). Returns the copy with 201. Needs files:write.

What you provide

  • Parent idoptional: The destination folder; null for the library root; omitted keeps the original's folder
  • Nameoptional: The new name, at most 255 bytes; omitted keeps the original's name

Do this with AI

I want to copy a file inside storage (body: parent_id, name; a taken name is 409, plan limits apply). Use the Tarkle API. Read the reference for this operation and follow it exactly: https://project-03b42162.restlessdocs.com/endpoint/copyfile.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.