assembly-files

Confirm Assembly Upload

Confirm the browser PUT to R2 completed; queue magic-bytes validation.

Transitions the row from uploading -> uploaded and kicks off the validation Temporal workflow on the light worker.

post/api/v1/projects/{project_id}/assembly-file/confirm-upload

Path parameters

project_idstring uuid required

Request body

assembly_file_idstring uuid required

The ProjectAssemblyFile ID returned by the initiate endpoint.

r2_keystring required

R2 object key from initiate endpoint (echoed back for verification).

Response

Successful Response

idstring uuid required
project_idstring uuid required
file_namestring required
file_sizeinteger required
file_format'step' | 'stp' required

Allowed formats for project-level assembly reference files.

Intentionally a narrow subset — assembly files are reference docs only, not processed through the geometry pipeline.

status'uploading' | 'uploaded' | 'validated' | 'failed' required

Lifecycle for ProjectAssemblyFile.

UPLOADING: presigned URL issued, waiting on browser PUT UPLOADED: confirm received; magic-bytes validation queued VALIDATED: passed magic-bytes check; downloadable FAILED: validation rejected (failure_reason populated)

failure_reasonstring nullable
uploaded_by_user_idstring uuid nullable
created_atstring date-time required
updated_atstring date-time required
download_urlstring nullable

Presigned GET URL for downloading the assembly file. None when status is not 'validated' (file isn't ready or has failed).

Changes

No recorded changes to this endpoint across all 1 revision of this API.