Skip to main content
POST /v1/uploads stages a file for a granular operation. It does not put the file in a workspace. The handle is single-use: bytes are deleted when the job that reads them finishes. For a durable corpus, use workspace uploads instead.

Inputs

Default TTL is 24 hours; the cap is 7 days.

Result

The SDK create_upload / createUpload return value is itself a valid source for document operations.

Errors

  • file_too_large (413) — over the upload size cap
  • unsupported_file_type (422) — rejected by the next operation, not always at upload
  • upload_expired (409) — handle expired or already consumed

Next