flask
v1.4.1Video review for agents: upload renders, read time-coded feedback, iterate version by version.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_guide Read a Flask guide
Returns one of Flask's usage guides as Markdown: fixed text written by Flask, the same for every user, with no team data in it. "instructions" (about 17 KB) is the playbook for working with Flask: where uploads go (a new asset or a new version), what an agentic edit attaches, how feedback is read, answered and shown, and how sharing works. Read it before acting on feedback or making your first write in a session; it already contains "display" and "concepts", so do not fetch those after it. Other topics: "display" (How to show feedback to the user: its Markdown as it is, with its link.), "conce…
| Parameter | Type | Description |
|---|---|---|
topic * | string | The guide to read; "instructions" is the playbook |
contents Browse folders and assets
Browse the team's folders and assets one level at a time. No id: the team's top level (root folders and assets; team names the team). folder_id: that folder's child folders and assets. asset_id: that asset's versions (version_id, version number, title, status, which one is current, and who uploaded it: uploaded_by with user_id and name, plus uploaded_by_agent true and agent_client_id when an agent uploaded it as that person), top first, not paged; filter them on uploaded_by.user_id to find what one person uploaded. Each asset item carries asset_id (the asset), version_id (its current version),…
| Parameter | Type | Description |
|---|---|---|
asset_id | string | Open an asset to list its versions (version_id, version number, title, status, which one is current, who uploaded it). Not with folder_id. |
folder_id | string | Folder to open - omit to see team root |
limit | number | Page size (default 20, max 100) |
offset | number | Items to skip for pagination: the next_offset of the previous page |
team_id | string | 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). |
feedback_list List feedback
List top-level feedback on an asset (pass the asset id for its current version, or a version id for that exact version; a folder id is refused - use recent_activity(folder_id)). By default only OPEN feedback (not yet completed) is listed: the feedback that still needs action; counts says how many are open and completed, and status=all lists everything. The response names the version listed: version_id, container_id, title and version number. Each item has its text body, tags (by name), status (open, in-progress or completed: set by the team's status labels, Done is completed), author, timestam…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset id (its current version) or version id to list feedback for |
limit | number | Page size (default 20, max 100) |
offset | number | Items to skip for pagination |
status | string | open (default): not completed yet, in-progress included. completed: marked Done (or another completed label). all: everything. |
feedback_get Get feedback
Get a single feedback item with its full reply thread. element_id is the item's id, as feedback_list, recent_activity, search or wait_for_feedback return it. Use it when an item has replies (feedback_list gives reply_count, not the replies) or to read one item again; to list an asset's feedback use feedback_list. Returns the item's text body (for recordings: the AI-organized feedback), tags (by name), author, posted_by_agent, video timestamp (and end_timestamp for a range), the recording (recording_type voice, camera or screen; its full verbatim transcript; pipeline_status - the transcript is…
| Parameter | Type | Description |
|---|---|---|
element_id * | string | Feedback item ID to retrieve: the id field of an item from feedback_list, recent_activity, search or wait_for_feedback |
wait_for_feedback Wait for feedback
Wait for NEW feedback on an asset (comments and replies by others; your own posts are not returned). Blocks up to timeout_seconds (default 45) and returns as soon as new feedback arrives, or times out with an empty list. A recording arrives once its transcript is done; recordings still being made or transcribed are listed in pending (read them later with feedback_get, or keep waiting - they are delivered when done, and feedback newer than them is delivered after them, in order). To listen continuously, call it again with the returned next_since. Use this after uploading a video for review inst…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset id (its current version) or version id to watch for new feedback |
since | string | ISO timestamp - only feedback created after this is returned. Omit on the first call (defaults to now, i.e. waits for the NEXT feedback). On subsequent calls pass the next_since from the previous resp… |
timeout_seconds | number | How long to wait before returning empty (10-45, default 45) |
feedback_post Post feedback
Create a feedback comment on an asset, as the connected user. Pass an asset id (the comment lands on its current version) or a version id (that exact version). content is Markdown (a heading, lists, bold, links, @mentions as links - see the content parameter). PREFER passing timestamp (seconds into the video) whenever the source material has one - e.g. when importing feedback from an email like 'at 0:42 the logo is wrong', convert 0:42 to 42 - and end_timestamp too when the comment is about a span (0:42-0:50). The comment is anchored there, so do not repeat that time in content. Without timest…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset id (current version) or version id to comment on (with reply_to: the asset the thread is on) |
content * | string | The comment body in Markdown. Supported: headings (one level - any number of # makes the same heading), bulleted and numbered lists, **bold**, *italic*, `code`, fenced code blocks, links; a single new… |
end_timestamp | number | End of the range in SECONDS, when the comment is about a span of the video rather than one moment (a scene, a section, an ad read): the comment is anchored to timestamp-end_timestamp. Omit for a singl… |
reply_to | string | Feedback item id to reply to (threads the comment under it; a reply to a reply joins the same thread) |
tags | array | Tag NAMES to apply (must already exist in the team - see the tags tool). Only for members of the asset's team. Not allowed with reply_to. |
timestamp | number | Video time in SECONDS the comment refers to (e.g. 72.5 for 1:12.5) - the start of the range when end_timestamp is given. Strongly preferred when known; omit for a general comment. Not allowed with rep… |
feedback_update Update feedback
Edit an existing feedback item. content (Markdown - replaces the whole body; start from the item's current content to keep its mentions and formatting) and timestamp (video time in seconds; with end_timestamp, a range - the two replace the comment's anchor together) can only be changed on the connected user's OWN comments. add_tags / remove_tags apply the team's existing tags by NAME and work on ANY feedback item in your own team's assets (labels and statuses are collaborative - e.g. add the 'Done' tag to mark feedback resolved; people outside the asset's team can comment but not change tags),…
| Parameter | Type | Description |
|---|---|---|
element_id * | string | Feedback item to edit |
add_tags | array | Tag NAMES to add (must already exist in the team) |
content | string | New comment body in Markdown (fully replaces the existing body; own comments only). Same syntax as feedback_post content. |
end_timestamp | number | End of the range in SECONDS, when the comment is about a span of the video rather than one moment (a scene, a section, an ad read): the comment is anchored to timestamp-end_timestamp. Omit for a singl… |
remove_tags | array | Tag NAMES to remove |
timestamp | number | New Video time in SECONDS the comment refers to (e.g. 72.5 for 1:12.5) - the start of the range when end_timestamp is given. Own comments only. |
get_annotated_frames Get annotated frames
The visuals of a feedback item, in one call: call it before acting on any item with a visuals field (a recording, a drawing, images). element_id is that item's id, as feedback_list, feedback_get, recent_activity, search or wait_for_feedback return it. For a recording: a frame for EVERY pointing link in its content ([phrase](#rt=S), the reviewer's "this" / "here"), each labelled with the links it shows, the media under review with the reviewer's drawing rendered in, and their shared SCREEN when they demonstrated something (e.g. a Photoshop/Figma mockup); webcam frames are NOT included, and the…
| Parameter | Type | Description |
|---|---|---|
element_id * | string | The feedback item (element) to get annotated frames for: the id field of an item from feedback_list, feedback_get, recent_activity, search or wait_for_feedback |
get_frame Get frame
Fallback for ONE moment get_annotated_frames did not show: the exact frame at a recording time (at) or when a word/phrase was spoken (word). get_annotated_frames already shows every [phrase](#rt=S) link in a comment - call it first; use this for a moment the comment doesn't link (something the transcript mentions) or a link it named as not shown. Returns the asset frame at that moment (plus the active shared screen, if any) and a transcript snippet around it. Each frame comes with a Link to it as shown (drawing included) and, when different, Media only (the same moment without the drawing or p…
| Parameter | Type | Description |
|---|---|---|
element_id * | string | The recording feedback item (element) to drill into |
at | number | recording time in seconds (a moment the transcript mentions, or a link get_annotated_frames named as not shown) |
source | string | limit to the asset frame or the shared-screen frame |
word | string | a word or short phrase the reviewer spoke |
asset_status Check processing status
Check whether an uploaded or imported video is ready. Pass the version id an upload returned (its asset_id) or an asset id (resolves to its current version); a folder id is refused. status is one of: ready; pending_ingest, processing, preparing or waiting (still working - check again in a few seconds; transfer_progress shows an import's download progress, progress the video processing percent); error (terminal - read error_message, stop polling and upload the file again); no_versions (the asset has no media yet). Returns asset_id (the asset), version_id (the version checked), url (current vers…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Version id (from an upload) or asset id to check |
version_download Download a version's file
Get a download link for a version's file, to work on it locally. Pass a version id (an upload's asset_id / version_id) or an asset id (its current version); a folder id is refused. A video gives its ORIGINAL uploaded file, exactly as uploaded: Flask keeps it for the team's download window, 14 days from upload on Free and Pro (as long as the team chooses on the Team plan); available_until says until when, after which it is gone for good and this says it expired (the video still plays in Flask). An image gives its stored file, kept for good. Download with curl -fsSL -o <filename> '<download_url>…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Version id (from an upload or contents) or asset id (its current version) |
permission_get Get access settings
Read the access settings of a folder or an asset. Returns: your own access level (full_access, comment_and_notes, comment, view or none), whether you can read version notes (can_view_notes) and version files (can_view_code), always together: the team, or a link with Can View Code and Context, and download originals (can_download: the team, or the link unless Can Download is turned off) and whether you are its creator / a member of its team, the creator (name, avatar), the default levels for members and for anyone with the link, and the team's member count. It does NOT list individual people -…
| Parameter | Type | Description |
|---|---|---|
asset_id | string | Asset (or version) to check |
folder_id | string | Folder to check (or pass asset_id) |
search Search folders, assets and feedback
Search the team's folders (by name or description), assets (by title) and feedback (by text) at once, when you don't know where something is; to browse a known folder use contents, for one asset's feedback feedback_list, for the latest feedback recent_activity. query matches case-insensitively anywhere in the text. Always returns all three categories, most recent first, each capped at limit (not paged), only items you can view; team names the team searched. Folder hits: id, name, description, parent_folder_id, url. Asset hits have the contents item shape (asset_id, version_id = its current ver…
| Parameter | Type | Description |
|---|---|---|
query * | string | Text to search for, matched case-insensitively anywhere in a name, title or comment |
limit | number | Max results per category (default 10, max 50) |
team_id | string | 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). |
recent_activity Get recent team feedback
Get the latest feedback across the whole team or one folder's subtree (team names the team), newest first: text and recording comments on every asset you can view, so you can read feedback across many videos in one call. Each item has a `type` field ("text" or "recording"), author, timestamp, a link that opens the comment, the asset it belongs to (container_id / container_title) and the version it was left on (asset_id = version id, version number). Scope with folder_id to read one client's/project's feedback, narrow the window with since/until, and page with offset = the previous next_offset:…
| Parameter | Type | Description |
|---|---|---|
folder_id | string | Only feedback on assets inside this folder's subtree |
limit | number | Number of comments to return (default 20, max 100) |
offset | number | Items to skip for pagination (use next_offset from the previous response) |
since | string | Only feedback created at/after this ISO timestamp |
team_id | string | 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). |
until | string | Only feedback created at/before this ISO timestamp |
tags List tags and usage
List the team's tags and show the share of each tag (plus an 'untagged' bucket) across a scope. Scope defaults to the whole team; pass folder_id to narrow to one folder (its whole subtree), or asset_id to narrow to one asset (an asset id counts feedback across ALL its versions; a version id widens to its asset). Shares are count_with_tag / total_elements and do NOT sum to 100% because elements can carry multiple tags.
| Parameter | Type | Description |
|---|---|---|
asset_id | string | Narrow to this asset (mutually exclusive with folder_id) |
folder_id | string | Narrow to this folder (mutually exclusive with asset_id) |
team_id | string | 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). |
tag_create Create a team tag
Create a team tag (label) so feedback can be tagged with it by name in feedback_post and feedback_update. Reuse the team's labels when one fits; create one only when the user wants a new label. Idempotent: if a tag with the same name exists (case-insensitive), it is returned unchanged with created: false. Tags are shared by the whole team; call tags() first to reuse an existing one. Pass color when the user names one; without it a color is picked for the tag.
| Parameter | Type | Description |
|---|---|---|
name * | string | Tag name (1-50 characters) |
color | string | Tag color; omit it and one is picked |
team_id | string | 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). |
members List members
List the people on the team: user_id, name, role (admin or member), avatar_url and a ready-made mention link; the result's team field names the team. Email addresses are never returned. Use it to mention someone in feedback_post / feedback_update content: [@Name](https://flask.do/members?user=USER_ID) notifies that person. query keeps names containing it; no match gives an empty list. It lists the whole team, not who can open an item: for an item's access settings, use permission_get.
| Parameter | Type | Description |
|---|---|---|
query | string | Case-insensitive name filter (part of a name matches) |
team_id | string | 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). |
upload_video Upload video from URL
Upload 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 per month (web and agents together) a…
| Parameter | Type | Description |
|---|---|---|
video_url * | string | Public URL of the video to import - a direct video file URL or a Google Drive share link |
files | array | The version's working files, sent with the upload: ONE zip of the project folder that made it (without node_modules, build output or renders), up to 500 MB, set once. It comes back with its upload com… |
folder_id | string | 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). |
notes | string | 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). Start straight with that: no title or heading on to… |
team_id | string | 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). |
title | string | Title for the new asset (defaults to "Video from URL") |
version_of | string | 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 uploa… |
upload_file_start Start local file upload
Start uploading a LOCAL video or image file from the user's machine into Flask. It needs a shell that can run curl; without one (a chat app), upload from a public link with upload_video. VIDEO: creates the asset immediately (container_id + shareable url, live before any bytes move) with the file as its version (asset_id / version_id), or a new version of an existing asset with version_of, and returns the shell command (next_step) that sends it while the user watches its progress at the url; then call upload_file_complete(asset_id). IMAGE (content_type image/png, image/jpeg, image/webp or image…
| Parameter | Type | Description |
|---|---|---|
file_size * | integer | Exact size of the local file in bytes (e.g. from `stat -f%z <file>` on macOS or `stat -c%s <file>` on Linux) |
content_type | string | MIME type of the file (defaults to video/mp4). image/png, image/jpeg, image/webp or image/gif uploads an image. |
files | array | Video only (an image: pass them to upload_file_complete). The version's working files, sent with the upload: ONE zip of the project folder that made it (without node_modules, build output or renders),… |
folder_id | string | 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). For an image, pass it to upload_file_complete instead. |
notes | string | Video only (an image: pass it to upload_file_complete, where its version is made). The version's notes, in Markdown: what changed and why (link the feedback it answers), and how to continue (the tools… |
team_id | string | 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). |
title | string | Title for the new asset (defaults to "Untitled Video"). For an image, pass it to upload_file_complete instead. |
version_of | string | 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 uploa… |
upload_file_complete Finish local file upload
Finalize a local file upload started with upload_file_start. Call this only AFTER the upload command (or, for an image, the curl PUT) has finished successfully. Pass exactly one of: asset_id (a video: verifies every part landed in storage and starts video processing) or image_url (an image). An image creates the asset here - at the team's top level, in folder_id, or as a new version of version_of - titled title. Safe to retry: a repeat returns the same asset.
| Parameter | Type | Description |
|---|---|---|
asset_id | string | The asset_id (version id) upload_file_start returned for a video |
files | array | Image only (a video's go with upload_file_start). The version's working files, sent with the upload: ONE zip of the project folder that made it (without node_modules, build output or renders), up to 5… |
folder_id | string | Image only: folder to create it in (omit for the team's top level) |
image_url | string | The image_url upload_file_start returned for an image |
notes | string | Image only (a video's go with upload_file_start). 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). S… |
team_id | string | 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). |
title | string | Image only: title for the new asset (defaults to the file name for an image) |
version_of | string | Image only: add it as a new version of this asset (any of its ids). For a video it is ignored: the version is attached at upload_file_start. |
feedback_stats Get feedback statistics
Aggregate feedback statistics across many assets in ONE call - counts per asset and per version (v1, v2, ...), split by type (text/recording), tag, and author, with first/last feedback timestamps. Scope to a folder (folder_id), one asset (asset_id - an asset id or any of its version ids; the whole asset is reported, version by version), or the whole team; narrow the time window with from/to. Items are sorted by feedback count, most first; assets with no feedback in the window are left out unless include_empty is true. Paged: limit (default 50, max 200) and offset; total is the number of items,…
| Parameter | Type | Description |
|---|---|---|
asset_id | string | Scope to one asset or version stack (mutually exclusive with folder_id) |
folder_id | string | Scope to this folder's subtree (mutually exclusive with asset_id) |
from | string | Only count feedback created at/after this ISO timestamp |
include_empty | boolean | Also list assets with no feedback in the window (default false) |
limit | integer | Items per page (default 50, max 200) |
offset | integer | Items to skip (use next_offset from the previous response) |
team_id | string | 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). |
to | string | Only count feedback created at/before this ISO timestamp |
folder_create Create a folder
Create a folder. parent_folder_id is optional: omit it for the team's top level (root), or pass a folder id from contents or search to nest it. Folders are optional and nestable; assets can also sit at root. This does not check for an existing folder with the same name (the app allows duplicates): call contents first if it may already exist. Returns folder_id and its url. To put assets in it, use items_update with folder_id, or pass folder_id to the upload tools. Needs edit access on the parent folder. Additive: nothing existing changes.
| Parameter | Type | Description |
|---|---|---|
title * | string | Folder name (1-255 characters) |
parent_folder_id | string | Folder to create it in, or "root" (the default) for the team's top level |
team_id | string | 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). |
items_update Rename, move or share folders and assets
Rename, move and/or change the sharing of folders and assets, up to 20 items per call, each with its own result. Per item: id (a folder id, an asset id, or a version id) plus at least one of: title (renames the folder, or the asset; a version id renames its asset), version_title (names that one version, as in the app's version list; version ids only), folder_id (move into this folder, or "root" for the team's top level; a version id moves its whole asset), link_access (what anyone with the item's link can do: comment, view, or none to close the link; comment_and_notes is the same as comment fo…
| Parameter | Type | Description |
|---|---|---|
items * | array | 1-20 items to change |
versions_add Add assets or versions to an asset
Make other assets or versions the NEWEST versions of asset_id (the asset that keeps its title, link and sharing), as dragging one onto another does in the Flask app. Use it when a revision was uploaded as a separate asset. A source asset id brings ALL its versions, and that source asset then stops existing: its title and link go, and its versions take asset_id's sharing. A version id moves just that version (if it was its asset's only version, that asset goes the same way). Sources are added in order; the last becomes the current version. Refused when a source is still uploading, is in another…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The asset that receives the versions (any of its ids) |
source_ids * | array | Asset or version ids to add, in order; the last becomes current |
versions_split Split versions into their own assets
Move each version in version_ids out of its asset into a new asset of its own, in the same folder, named after the version, with the same sharing. An asset always keeps at least one version; a version that is already alone is reported already_separate. Undo it with versions_add. No media or feedback is ever deleted; feedback stays on its version. contents(asset_id) lists an asset's versions. Results are per version; earlier ones are not undone if a later one fails.
| Parameter | Type | Description |
|---|---|---|
version_ids * | array | Version ids to split out |
versions_reorder Reorder an asset's versions
Set the order of an asset's versions: order lists every version id of asset_id exactly once, top first. The top version becomes the current one (what the asset link opens), and version numbers follow the order. Reorder again to undo. No media or feedback is ever deleted; feedback stays on its version. contents(asset_id) lists an asset's versions.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The asset (any of its ids) |
order * | array | Every version id of the asset, top first |
version_notes_get Read a version's notes and files
Read a version's notes (Markdown) and its files. Notes say what changed in that version and how to continue the work; its files are what made it: ONE zip of the working files, downloaded as <version_id>.zip. Call this before continuing work someone else uploaded: read the current version's notes, download its files, then make the changes the feedback asks for. Each file has name, size and download_url (works without a token for one hour): download with curl -fsSL -o <name> '<download_url>' and unzip it. With include_contents, the zip also lists what it holds (path and size of every file), to c…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The version (an upload's asset_id / version_id), or an asset id (its current version) |
include_contents | boolean | Also list what the zip holds (path and size of every file in it) |
version_notes_update Write a version's notes
Replace a version's notes with Markdown (the whole text; null or empty clears them). For a NEW upload, pass notes with the upload call instead (upload_file_start, upload_file_complete, upload_video): the version then shows them from the start. Write notes on every revision you upload, so any agent can continue from the Flask link alone: what changed and why (which feedback it answers) and how to continue (the tool and versions used, the commands to render). Start straight with that: no title or heading on top (Flask already shows the asset's name and the version number above them), and no file…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The version (an upload's asset_id / version_id), or an asset id (its current version) |
markdown * | The notes, in Markdown; null clears them |
version_file_upload Add a file to a version
Attach a version's working files to a version that already exists (for a NEW upload, pass files with the upload call instead: the version then shows them from the start): ONE zip of the project folder that made it (without node_modules, build output or renders), up to 500 MB. Returns a presigned upload URL for exactly file_size bytes; upload with the curl command from next_step (this needs a shell that can run curl). The zip belongs to the version as soon as the bytes land (no complete call); people see what it holds in the version's Code and Files and download it as <version_id>.zip. A versio…
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | The version (an upload's asset_id / version_id), or an asset id (its current version) |
file_size * | integer | Exact size of the local file in bytes (stat -f%z <file> on macOS, stat -c%s <file> on Linux) |
name * | string | The zip's file name, e.g. source.zip (it must be a .zip) |