Create file record
Create a file record after uploading. This endpoint should be called AFTER uploading the file using the presigned URL from /files/upload-url. It creates the database record and updates storage usage tracking.
Authorizations
API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.
Body
File name
MIME type of the file
Public URL where the file was uploaded (from upload-url response)
Workspace to store the file in
File size in bytes
x >= 1Optional folder ID to organize the file
Optional custom metadata
Response
File created successfully
A file/asset stored in Mavera
Unique file identifier
file File name
Direct URL to access the file
MIME type of the file (e.g., 'image/png', 'application/pdf')
File size in bytes
Source of the file upload
upload, google_drive, dropbox, dropbox_chooser, onedrive, onedrive_picker, url Workspace ID
Folder ID if file is in a folder
Folder details if file is in a folder
Thumbnail URL for images/videos
Custom metadata attached to the file
Whether the file is in your favorites