Skip to main content

FileUploadSession

Description

Tracks multipart upload state until completion. Canonical upload path for article media attachments is: POST /v1/files/uploads/init, then POST /v1/files/uploads/{sessionId}/direct for parts, then POST /v1/files/uploads/complete to finalize a FileRecord. Use the resulting FileRecord/media URL when creating a ContentMediaLink for ContentData.

Properties

NameTypeDescriptionNotes
uploadIdStringUnique upload identifier provided by the storage backend.
storageDriverIdStringStorage driver identifier used for this upload session.
storageKeyStringStorage key that will store the uploaded object.
fileFileRecord[optional]
initiatedByPrincipal[optional]
expiresAtOffsetDateTimeWhen the upload session expires.
completedAtOffsetDateTimeWhen the upload completed successfully.[optional]
partSizeBytesLongMultipart chunk size in bytes.[optional]
metadataStringAdditional metadata persisted with the session.[optional]
idUUIDUnique identifier for object in the system[optional] [readonly]
ownerIdUUIDUUID of owner of the object in the system[optional] [readonly]
createdDateOffsetDateTimeDate of object creation[optional] [readonly]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional] [readonly]
lastAccessedByIdUUIDLast user to access object[optional] [readonly]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional] [readonly]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional] [readonly]
lastModifiedDateOffsetDateTimeDate of last object modification[optional] [readonly]
trashedBooleanIndicates if the object is trashed (soft deleted)[optional]

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-05-16T11:45:23.900207-07:00[America/Los_Angeles]