Generate presigned upload URL for vault file
Generate a presigned URL for uploading files directly to a vault’s S3 storage. After uploading to S3, confirm the upload result via POST /vault/:vaultId/upload/:objectId/confirm before triggering ingestion.
Authorizations
API key starting with sk_case_
Path Parameters
Vault ID to upload the file to
Body
Name of the file to upload
MIME type of the file (e.g., application/pdf, image/jpeg)
Additional metadata to associate with the file
Whether to automatically process and index the file for search
Marks the file as AI-generated work product (e.g. uploaded by an agent) rather than a user-provided source document. Persisted on the object and returned by object listings so clients can distinguish provenance.
File size in bytes (optional, max 5GB for single PUT uploads). When provided, enforces exact file size at S3 level.
1 <= x <= 5368709120Optional folder path for hierarchy preservation. Allows integrations to maintain source folder structure from systems like NetDocs, Clio, or Smokeball. Example: '/Discovery/Depositions/2024'
Response
Upload URL generated successfully
Unique identifier for the uploaded object
Presigned URL for uploading the file
URL expiration time in seconds
S3 object key for the file
Folder path for hierarchy if provided
Whether the file will be automatically indexed
Whether the file is marked as AI-generated work product
Whether the vault supports indexing. False for storage-only vaults.
Next API endpoint to call for processing

