Complete an upload

POST /Platform/uploads/{upload_id}/complete

Complete an upload.

Finishes synchronously: assembles the parts, stores the file, detects its real content type from the first bytes and re-checks it against a form field's accepted types. Idempotent -- a client that timed out calls it again and every step resumes where it stopped.

Path parameters

Returns

UploadCompleteResponse

Example request

curl -X POST "https://api.hilus.ai/Platform/uploads/{upload_id}/complete" \
  -H "Authorization: Bearer $HILUS_API_KEY"