Skip to main content

FileInfo

FileInfo contains metadata about a file

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
fileIdstringOptionalStable identifier of the stored file.
namestringOptionalName of the file within its containing folder.
pathstringOptionalFull path (e.g., "/documents/report.pdf").
folderPathstringOptionalParent folder path.
sizeBytesstring (int64)OptionalSize of the file content, in bytes. Pattern: ^-?\d+$.
contentTypestringOptionalMedia type describing the file or response body.
uploadedAtstringOptionalRFC3339 timestamp.
modifiedAtstringOptionalRFC3339 timestamp.
metadataMap from string to stringOptionalCustom metadata.
tagsArray of stringOptionalUser-defined tags.
descriptionstringOptionalOptional description.
storageRefObjectRefOptionalReference to actual storage location.
checksumstringOptionalFile checksum (SHA256).
versioninteger (int32)OptionalVersion number (for versioning support). Minimum: -2147483648. Maximum: 2147483647.

Where used​

ReferenceRelationship
Generate a pre-signed download URLPOST /api/v1/storage/generate-download-url
Get file metadataPOST /api/v1/storage/get-file-metadata
Get storage statePOST /api/v1/storage/get-state
List files and folders in a directoryPOST /api/v1/storage/list-files
Move or rename a filePOST /api/v1/storage/move-file
Register a file uploaded via pre-signed URLPOST /api/v1/storage/register-uploaded-file
Search filesPOST /api/v1/storage/search-files
Update file metadataPOST /api/v1/storage/update-file-metadata
Upload a file (deprecated)POST /api/v1/storage/upload-file
StorageManagerStateNested in model

Download the public reference contract.

Document: DOC-API-MODEL-file-info.