Upload video from URL
upload_videoUpload a video from a public URL (a direct video file link or a Google Drive share link) into Flask. Flask downloads it, stores it, and starts processing. Creates a new asset (container_id + url) with the file as its first version (asset_id / version_id), or a new version of an existing asset with version_of. Share the returned asset URL while processing; poll asset_status(version_id) until status is "ready" before reporting processing complete. folder_id is OPTIONAL: omit it to upload to the team's top level (root). On the free plan new assets are limited (web and agents together); a new version via version_of is always free. When the team has no free assets left, the upload is refused with a message that says how to continue. You still need edit access on the folder if one is given. For a LOCAL file on disk, use upload_file_start instead. Made with code or files? Pass notes and files (source.zip) here: the version shows them from the start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to attach to the version, sent with the upload: by convention the working files that made it as ONE source.zip (the project folder without node_modules, build output or renders; over 30 MB, split into source-1.zip, source-2.zip, ...). Max 30 MB each, 20 per version, names used once. Each comes back with its upload command: run it before the main upload. | |
| notes | No | The version's notes, in Markdown: what changed and why (link the feedback it answers), and how to continue (the tools, the command that renders it). Saved with the version, so it shows them from the start; each file's line is put above them for you. Up to 20,000 characters of text. | |
| title | No | Title for the new asset (defaults to "Video from URL") | |
| team_id | No | Team to act in: the team.id an earlier result named. Omit for the team selected in the Flask app (which the user can switch at any time). | |
| folder_id | No | Optional folder to upload into (you must have edit access - check with permission_get if unsure). Omit to upload to the team's top level (root). | |
| video_url | Yes | Public URL of the video to import - a direct video file URL or a Google Drive share link | |
| version_of | No | Upload as a NEW VERSION of an existing asset instead of creating a separate asset. Accepts the id of the asset (its container id, what contents/search return), or of any of its versions. The new upload becomes the current version; the asset's url then shows it. folder_id is ignored when version_of is given. |