complete_upload

Management

Complete Upload

Finalize a multipart upload started by upload_asset. Call this only after every file part has been uploaded to the presigned URLs. Completes the upload on the server and polls until the asset is ready. Args: - upload_id: required — returned by upload_asset for multipart uploads - team_id, project_id: required for OAuth callers Returns: the completed asset_id and status when the upload finishes, or a timeout status if the asset is still being processed. Examples: - "Finish the multipart upload" -> upload_id="<upload_id from upload_asset>" - "Complete upload after PUTing all parts" -> call complete_upload once every part upload succeeded Don't use when: upload_asset already returned an asset_id from the inline base64 path.

idempotentopen-world

Parameters

NameTypeRequiredDescription
upload_idstringUpload ID returned by upload_asset
team_idstringTeam ID. Required if user belongs to multiple teams.
project_idstringProject ID to scope the operation to.
response_formatenum(json | markdown)jsonOutput format: 'json' for structured data, 'markdown' for human-readable text.