Start a resumable folder upload into the workspace [write]
Changed onFor folders over the single-request import's 25 MB: declare the folder's name, the gzipped tar's size (up to 2 GiB) and sha256, then send it in parts and complete. Answers the upload; its parts are numbered from 0. Or send {name, file_id}: a gzipped tar already stored as one of your files, which needs no parts and answers state verified, so complete unpacks it straight away (404 for a file you cannot see, 400 not_downloadable). 404 when resumable imports are not enabled for the workspace, 400 invalid_name or invalid_request (size, sha256 or part_size out of range).
post/sessions/{id}/workspace/imports
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/workspace/imports
- AuthHTTP bearer
Path parameters
idstring required
The session id
Request body
Response
Created
Changes
- info
endpoint added
- info