/v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/commitFinalize a staged upload.
Upload only. Call once, after all parts have been uploaded. Completes the multipart upload and starts the asynchronous import into the workspace. Responds 202; poll the transfer until completed or failed.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 400 is returned: Missing transfer_id, sha256 mismatch, or invalid JSON. A 401 is returned: Authentication failed due to invalid credentials. A 402 is returned: The team is blocked by the prepayment gate. A 404 is returned: The resource was not found. A 409 is returned: Transfer is not in a committable state. A 423 is returned: This session is unavailable; contact support. A 429 is returned: The API rate limit has been exceeded. A 500 is returned: There was a server error. A 501 is returned: Staged upload is not supported by the active sandbox driver. Any other status is an error: There was an unexpected error.