Skip to main content
POST
/
vault
/
{id}
/
upload
/
{objectId}
/
confirm
{
  "vaultId": "vault_123",
  "objectId": "obj_456",
  "status": "completed",
  "alreadyConfirmed": false
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Vault ID

objectId
string
required

Vault object ID

Body

application/json
success
enum<boolean>
required

Whether the upload succeeded

Available options:
true
sizeBytes
integer
required

Uploaded file size in bytes

Required range: 1 <= x <= 5368709120
etag
string

S3 ETag for the uploaded object (optional if client cannot access ETag header)

autoIngest
boolean
default:false

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.

Response

Confirmation recorded

vaultId
string
objectId
string
status
enum<string>
Available options:
completed,
failed
alreadyConfirmed
boolean
ingest
object

Present when autoIngest was requested on a successful confirmation