complete_upload
ManagementComplete 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
| Name | Type | Required | Description |
|---|---|---|---|
| upload_id | string | ✓ | Upload ID returned by upload_asset |
| team_id | string | — | Team ID. Required if user belongs to multiple teams. |
| project_id | string | — | Project ID to scope the operation to. |
| response_format | enum(json | markdown) | json | Output format: 'json' for structured data, 'markdown' for human-readable text. |