List Model Node
Overview
The List Model node sends the list of trained models of the Rosepetal project behind a firebase-config node, each with its dataset and its task. Like List Dataset, it sends the list by itself when the connection comes up and every time a model changes, and on demand when it receives a message.
Key Features
- Sent automatically when the connection is established and whenever the finished models change in Firebase
- On demand: any input message sends the current list
- Dataset resolution: the name and id of the dataset each model was trained on
- Task normalization: one short name per task (
det,seg,class,ocr,anomaly) - Sorted by name, case-insensitively
Configuration
| Property | Default | Meaning |
|---|---|---|
| Output field | payload | msg property that receives the model array |
| Firebase config | none (required) | The firebase-config node of the project |
Input
Any message sends the current list with reason: "manual". The content of the message is not used and not passed on. If the connection is not up, the node warns Firebase connection not ready, sets the status waiting for firebase and sends nothing.
Output
javascript
{
payload: [
{
name: "8bXq2Lr0aTfK1mZp9wYc",
datasetName: "Bottle caps",
datasetId: "rp-obj-bottle_caps",
task: "det",
classes: { /* as stored with the model */ },
updatedAt: "15/1/2024, 11:00:00"
}
],
reason: "refresh",
modelsCount: 1,
timestamp: "2026-11-22T10:30:00.000Z"
}| Property | Meaning |
|---|---|
payload (or the Output field) | One entry per model, sorted by name |
payload[].name | Id of the model document. This is the id that the inference nodes and model-manager ask for |
payload[].datasetName | Name of the model's dataset, null if the dataset is not in the dataset list (deleted or hidden) |
payload[].datasetId | Id of the model's dataset |
payload[].task | The model's task, normalized (see below) |
payload[].classes | The classes stored with the model; {} when it has none |
payload[].updatedAt | Last update of the model, as a date string in the es-ES format and the Madrid time zone (day/month/year, hh:mm:ss) |
reason | Why the message was sent: refresh, startup, manual, update or reset, as described for List Dataset (update is not used by models) |
modelsCount | Number of models |
timestamp | When the message was sent, ISO 8601 |
Only models with status finished that are not deleted and have no finetuned field are listed.
Task Types
| Task stored with the model (any letter case) | task |
|---|---|
| detection, det, object_detection, object-detection | det |
| segmentation, seg, semantic_segmentation, instance_segmentation | seg |
| classification, class, multiclass, multilabel | class |
| ocr, text, text_detection | ocr |
| anomaly, anomaly_detection | anomaly |
| none | unknown |
| any other value | the value in lower case |
Node Status
| Status | Meaning |
|---|---|
green dot loaded: N models | List sent on startup |
green dot updated: N models | List sent on refresh or manual |
green dot reset: 0 models | List sent on reset |
red ring invalid output field | The Output field cannot be set; the node logs Failed to set output field '<field>': <reason> |
red ring missing firebase-config | No Firebase config selected; the node logs Missing firebase-config reference and does nothing else |
The connection statuses are described in Firebase Config.
Examples
Detection models of one dataset
javascript
// Function node after list-model
msg.payload = msg.payload.filter(m => m.task === "det" && m.datasetId === "rp-obj-bottle_caps");
return msg;Model selector
javascript
// Options for a dashboard dropdown: "<dataset> · <task> · <id>" → model id
msg.options = msg.payload.map(m => ({
[`${m.datasetName || m.datasetId} · ${m.task} · ${m.name}`]: m.name
}));
delete msg.payload;
return msg;See Also
- List Dataset Node - List the datasets of the project
- Inferencer Node - Run a model on images
- Triton Inferencer Node - Run a model on the Triton server
- Model Manager Node - Pre-load models on the inference servers
- Firebase Config Node - Configure the Firebase connection