/v2/agents/sessions/{session_id}/workspace/transfers/{transfer_id}/part-upload-urlsMint presigned PUT URLs for one or more multipart upload parts.
Upload only. Pass one or more 1-based part_numbers; the response returns a presigned upload_url per part (all sharing one expires_at), so a client can drive parallel part uploads without a round trip per part. PUT each part's bytes directly to its URL (bypassing harness-api). If URLs expire before the PUT, request them again.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 400 is returned: Missing transfer_id, empty part_numbers, or a part number < 1, 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 state that accepts part uploads. 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.