Package ai.vectros.types
Class FileUploadResponse.Builder
java.lang.Object
ai.vectros.types.FileUploadResponse.Builder
- Enclosing class:
FileUploadResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()ISO-8601 UTC timestamp at which the presigned URL expires.externalId(String externalId) externalId(Optional<String> externalId) The stable identifier you supplied on the request, echoed back.from(FileUploadResponse other) Document ID assigned to this upload.Presigned upload URL.
-
Method Details
-
from
-
id
Document ID assigned to this upload. Poll
GET /v1/documents/{id}to track indexing status after the upload completes. -
id
-
uploadUrl
Presigned upload URL. Upload the raw file bytes directly to this URL with an HTTP PUT request, setting the Content-Type header to the
fileTypeyou provided. No Authorization header is needed — the URL is self-authenticating. -
uploadUrl
-
expiresAt
ISO-8601 UTC timestamp at which the presigned URL expires. The upload must complete before this time. Default expiry is 60 minutes.
-
expiresAt
-
externalId
The stable identifier you supplied on the request, echoed back. Immutable, and unique within your account and context. Null when you did not supply one.
-
externalId
-
build
-
additionalProperty
-
additionalProperties
-