vault

Start a resumable vault import upload

Reserve a resumable upload for a vault archive (tar.gz) larger than a single request allows. Send the total size and SHA-256; the response gives the upload id, the fixed part size (8 MiB) and when the reservation expires (24 h). Starting again with the same size and hash returns the existing upload, so an interrupted client can resume.

post/v1/vault/import-uploads

Request

  • Base URL: https://api.hyperresearch.ai
  • URL: https://api.hyperresearch.ai/v1/vault/import-uploads
  • Auth: one of:
    • HTTP bearer
    • API key in cookie hr_session

Request body

total_bytesinteger required
archive_sha256string required

Response

Upload reserved

upload_idstring required
chunk_size_bytesinteger required
max_bytesinteger required
expires_atstring required
status'open' | 'completed' required
job_idstring

Changes

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