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.

Finish the upload into the folder chosen at the start; optional body: sha256, modified_at (multipart_id is stored by the server); returns the file

Finishes the upload: puts the file in the folder chosen at the start and returns it. If bytes are missing the answer is 409 incomplete and nothing is lost: details.missing_parts lists the parts to send (at most 1000 are listed); send them and call again. Calling it again after success returns the same file. Optional sha256 (checked by the server up to 100 MiB, kept as the client's claim above that) and modified_at (the file's own modification time) are recorded on the file. For a version upload, version_created says whether a new version was made (false when the bytes equal the current version). Bytes that do not match the announced size or the sha256 are 422. Needs files:write.

What you provide

  • Multipart idoptional: For a multipart version upload: the multipart_id that startUpload returned
  • Sha256optional: The SHA-256 of the file's bytes as 64 hexadecimal characters
  • Modified atoptional: The file's own modification time: ISO 8601 with a time zone, after 1970-01-02 and at most one day ahead

Do this with AI

I want to finish the upload into the folder chosen at the start; optional body: sha256, modified_at (multipart_id is stored by the server); returns the file. Use the Tarkle API. Read the reference for this operation and follow it exactly: https://project-03b42162.restlessdocs.com/endpoint/completeupload.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.