File Uploads & Downloads
Attach files to entries and retrieve existing files through your AI assistant.
The AI can upload files to Inistate entries and retrieve download links for existing files. Both operations work in all three modes.
Uploading a File
The AI uses a three-step presigned upload flow that supports files up to 500 MB.
After confirmation, the AI attaches the file to the entry by including the path in a submit_activity call.
"Attach this PDF to invoice INV-1042."
"Upload the signed contract to PO-0234."
"Add a photo to this equipment inspection entry."
Calls
request_upload_urlwith the file detailsPerforms the S3 PUT
Calls
confirm_uploadto finalizeCalls
submit_activity(edit activity) with the file path set on the relevant File or Image field
Supported file types include documents, images, spreadsheets, and most common formats. Executable files (.exe, .bat, .cmd, .dll, .msi) are blocked.
Downloading a File
To retrieve an existing file from an entry, the AI requests a pre-signed download URL that expires after 1 hour.
"Download the attachment from invoice INV-1042."
"Get the signed contract from PO-0234."
"Show me the photo attached to inspection entry INS-0012."
Calls
get_entryto find the file path stored in the File or Image fieldCalls
download_filewith the module name, file GUID, and filenameReturns a pre-signed URL you can open in your browser
Download links expire after 1 hour. If you need to share a file, do so promptly after requesting the link.
Last updated