complete_upload
Finalize an artifact by verifying its content hash after upload, transitioning it from pending to active. Idempotent for already-active artifacts.
Instructions
Finalize an artifact previously reserved via request_upload_url after the bytes have been PUT to the presigned URL. Server verifies the blob, computes the content hash, transitions the artifact from pending to active, and increments tenant usage. Calling this on an already-active artifact is idempotent and returns the existing record. Calling before the PUT completes returns upload_not_found — wait and retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_id | Yes |