One of 38 things your AI can do in your Instroc account, in Your files
Get the files added on an upload page
get_
Reads only
Ask your AI
- I've added them
- Use these
- Done
- Are my files in
What it does
Reports the files the owner added on an upload page made by create_upload_link.
Fits the owner coming back to the chat with 'use these', 'done', 'I've added them' or 'are my files in'. Takes upload_id. Returns state (waiting while the page is open, done after the owner pressed Done, expired after its 15 minutes), files (each with file_id, name, type as read from its bytes, and size in bytes), files_in_progress (still uploading or being checked), project_id, and held_until for files kept without an app. A closed link still reports the files added before it closed, and they can be used. Each file_id goes in the files input of build_app for that app, or of create_app when the link had no app. Never returns file contents or storage addresses.
This is the text your AI reads, word for word.
- Changes
- None. It only reads.
Inputs
upload_idRequired- The upload_id create_upload_link returned.