v5

latestOpenAPI 3.1.02026-08-025631,1012.8 MB
Models

Confirm model upload

Confirm a model upload after the S3 upload completes.

This is step 3 of the presigned URL workflow. Call this after uploading the model archive to the presigned URL.

The service will:

  1. Verify the S3 object exists
  2. Validate the archive structure
  3. Create the model record
post/v1/models/uploads/{upload_id}/confirm

Path parameters

upload_idstring required

Request body

etagstring nullable

S3 ETag from upload response for integrity check

file_size_bytesinteger nullable

Expected file size for validation

Response

Successful Response

successboolean required

Whether upload and validation succeeded

upload_idstring required

The upload ID

model_idstring nullable

Created model ID if successful

validation_status'pending' | 'passed' | 'failed' required

Validation status

validation_errorsstring[] nullable

Validation errors if any

s3_archive_urlstring nullable

S3 URL of the archive

messagestring nullable

Additional status message