Manage Folders
Create, list, and update workspace project folders from the Python SDK.
List folders
import roboflow
rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
workspace = rf.workspace()
folders = workspace.list_folders()
for folder in folders.get("data", []):
print(folder["id"], folder["name"])Create a folder
folder = workspace.create_folder(
name="Training Data",
parent_id=None, # optional, for nesting
project_ids=["my-detector", "other-project"], # optional, populate at creation time
)
print(folder["id"])Parameters
Get a folder
Rename or update a folder
Delete a folder
REST and CLI equivalents
Last updated
Was this helpful?