Confirm vault upload result
Confirm whether a direct-to-S3 vault upload succeeded or failed. This endpoint emits vault.upload.completed or vault.upload.failed events and is idempotent for repeated confirmations. Conditional fields: when success=true, sizeBytes is required; when success=false, errorCode and errorMessage are required. These rules are enforced server-side with specific 400 responses.
Authorizations
API key starting with sk_case_
Body
Whether the upload succeeded
Uploaded file size in bytes, including zero. Required when success=true and verified against S3. Empty files can be stored and transferred, but cannot be ingested.
0 <= x <= 5368709120S3 ETag for the uploaded object (optional if client cannot access ETag header). Only meaningful when success=true.
When true and the object was uploaded with auto_index, trigger ingestion immediately after a successful confirmation (no separate ingest call needed). The ingest outcome is reported in the ingest response field; an ingest failure does not fail the confirmation.
Client-side error code. Required when success=false.
Client-side error message. Required when success=false.

