One of 38 things your AI can do in your Instroc account, in Your files
Check and store uploaded files
finalize_
Makes changes
Ask your AI
- Are my files in?
- Finish the upload
What it does
Checks files uploaded to addresses from get_file_upload_url and stores the ones that pass in the app's Instroc Cloud storage, or holds them for create_app when they were uploaded without an app.
Fits 'are my files in', 'finish the upload'. Returns per file a state: stored, checking (still being checked; a later call with the same ids reports the outcome), refused with a reason, or missing (nothing has arrived at its address yet). Each file also carries its type as read from its bytes, size, sha256 of the stored copy (for a photo, the copy with location data removed), received_sha256 of the bytes as they arrived, past_included and, for a held file, held_until. A repeated call changes nothing that is already decided. Cloud, the plan's storage level and the Cloud balance are checked again here. A stored file's file_id goes in the files input of build_app for that app; a held file's goes in create_app. A file never finalized is deleted after an hour. While people and data sharing is on for any app this account administers, and for 24 hours after it is turned off, this tool is held: it changes nothing and uses no credits, and the account holder does this in the Instroc editor.
This is the text your AI reads, word for word.
Direct upload has been tested with Claude Code. In a chat app, use the upload page instead (create_upload_link).
- Changes
- Yes.
Inputs
file_idsRequired- file_ids from get_file_upload_url, 1 to 50.