Dataset
Overview
Creates or finds a Supervisely dataset by name. If no matching dataset exists, the node creates it. The node requires a Supervisely project ID and a configured Supervisely secret with the server address and API token.
Prerequisites
How it works
FAQ
How is the project chosen when Project URL or ID is empty?
The node takes the first team on the account, uses its OvalBee workspace, and finds or creates a project named after the current flow. A flow without a name fails the run.
Does the node change an existing dataset?
No. It returns the first dataset with that name and leaves its contents untouched.
Why did the node pick the wrong dataset?
Several datasets in the project share that exact name, so the first match was used. Give each dataset a unique name when the choice must be predictable.
What happens if the dataset name is empty?
The run fails before anything is created.
Inputs
Exact dataset name to find or create. Key: DATASET_NAME.
Your Supervisely server address and API token, stored as a secret. Allowed credential types: supervisely. Key: SLY_SECRET.
Supervisely project the dataset belongs to, given as its URL or numeric ID. Leave empty to find or create a project named after the flow. Key: SLY_PROJECT_URL.
Supervisely workspace the project is looked up in. Leave empty to use the OvalBee workspace of the selected team, created when it is not there yet. Key: SLY_WORKSPACE_ID.
Supervisely team the workspace is looked up in. Leave empty to use the first team on your account. Key: SLY_TEAM_ID.
Outputs
ID of the first existing dataset with the requested name, or the newly created dataset. Key: SLY_DATASET_ID.
URL of the existing or newly created Supervisely dataset. Key: SLY_DATASET_URL.
String representation of the number of items in the dataset. Key: ITEMS_COUNT_STR.
URL of the preview image from the dataset Key: PREVIEW_IMAGE_URL.
JSON config
Machine-readable node interface for automation and advanced usage.