Upload a file chunk
Send canonical base64 bytes, index starting at zero. Each decoded chunk must be 262144 bytes except the final chunk. Retry the same index with identical bytes safely. Access is checked on every call. Uploads interrupted by revocation cannot resume after a fresh grant; delete and restart them.
put/api/tasks/{id}/files/{fileId}/chunks/{index}
Request
- Base URLhttps://www.toma.com
- URLhttps://www.toma.com/api/tasks/{id}/files/{fileId}/chunks/{index}
- Auth
- HTTP bearer
- or API key in cookie better-auth.session_token
Path parameters
idstring required
fileIdstring required
indexinteger required
Request body
Response
File operation result.
Changes
No recorded changes to this operation across all 1 revision of this API.