Products and files
Finish upload
POST
/ v1 / files / {file_id} / finish The last step of POST /v1/files without url, after your PUT to the upload_url. Checks that the file is stored and makes it usable. Returns the file_id, name and size.
Changes at once MCP tool finish_upload
Authorization
-
Authorizationstring header requiredBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Introduction
Path parameters
-
file_idinteger requiredThe file_id from upload_file.
min
1Example:601
Response
Fields of the answer with status 200. Errors always have the same format, see Errors.
-
file_idintegerUse it in a content block.
-
namestringThe name.
-
file_typestringFile extension, like pdf.
-
kindstringThe content block type that fits the file.
Allowed values:
imagevideoaudiofile -
size_bytesintegerFile size in bytes.