List Asset Versions In GenAsset
List Asset Versions In GenAsset — see the whole family tree
- versions_json
- version_ids_csv
- status_json
List Asset Versions In GenAsset is the answer to "what has this asset been through?" Give it an asset UUID and it returns every version of that asset - newest first - as JSON, plus a comma-separated string of the version IDs. If Find Assets In GenAsset is the search bar, this is the asset's history page.
You'll reach for it in two situations. First, when you have an asset id and no idea which version is which - you need the list to find the one you want to load, compare, promote, or delete. Second, when you're building something scripted: grab version_ids_csv, split it, and iterate over versions programmatically. It turns "look at the web UI" into "do it in the graph."
How it works
The node does a GET to api/v1/assets/{asset_id} - the same endpoint several other nodes use - and pulls out the versions array. Then it sorts the versions by version_number descending (newest first) and caps the list at your max_versions (1–200, default 20). Each version is compacted to the useful fields: id, version number, and the other bits of the version card.
The output split is the same pattern as the find node: versions_json for reading/parsing, version_ids_csv for copying ids directly into a load, compare, promote, or delete node. The status_json reports the count and which asset it queried.
Inputs and outputs that matter
Four required inputs - base_url, token, asset_id, and max_versions. Only two matter to you: asset_id is the asset you're inspecting (required, a real UUID - the tooltip says so, and the node errors if you leave it empty), and max_versions lets you cap a big history. If an asset has 300 versions and you only need the latest few, keep the default 20.
Outputs: versions_json, version_ids_csv, and status_json. The csv is sorted newest-first to match the JSON, so the first id in the list is the latest version.
Installation
In the steliosot/ComfyUI-GenAsset pack. ComfyUI Manager → search GenAsset → install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/steliosot/ComfyUI-GenAsset.git
Restart, and have a workspace token ready (widget, GENASSET_WORKSPACE_TOKEN, or ComfyUI/user/genasset.json). No extra dependencies.
Common issues
- "Paste asset_id to list versions." - empty input, no guessing. Get the UUID from a save node or the web UI.
- You expected 40 versions and got 20 -
max_versionsdefaults to 20. Bump it up to the cap of 200 if you need the whole history. - The list shows versions but the ids don't match what you loaded - remember versions are listed newest-first. If you're grabbing the first id expecting the oldest version, you've got it backwards.
This node is boring in the best way - a reliable, scriptable way to see an asset's history. It's usually the first step of a multi-node flow: list the versions, pick an id, then load, compare, or promote. Knowing the list exists is half the battle.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| base_url | STRING | https://genasset.xyz | — |
| token | STRING | ComfyUI/user/genasset.json | — |
| asset_id | STRING | Required asset id (UUID). | |
| max_versions | INT | 201–200 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| versions_json | STRING | — |
| version_ids_csv | STRING | — |
| status_json | STRING | — |