Extend file retention
Extend how long a retained upload stays in storage.
← All Files endpoints · Capability overview
/v1/files/extend-filehttps://api.vee3.io/v1/files/extend-file
Extend how long a retained upload stays in storage.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
files.extend_fileParameters2 fields
file_namestringRequiredRelative file name or path to extend. Use files.list_uploaded_files and choose a file that includes retained_until.
max length 255
additional_retention_daysintegerRequiredDays to add to the file's retention schedule.
min 1, max 90
Response5 fields
file_namestringExtended file name.
retained_untilstringISO 8601 timestamp when the file is now scheduled to be removed.
additional_retention_daysintegerDays added in this request.
token_costintegerTokens billed for this extension.
size_bytesintegerFile size in bytes used for billing.
HTTP errors: unauthorized, payment_required, validation_error, insufficient_tokens, uploaded_file_not_found