Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Project Folders

Group projects into folders to organize your workspace and optionally restrict access with SSO.

About

Project Folders improves the organization and security of projects within your workspace. Folders allow you to group one or more projects into distinct categories, which improves your ability to navigate, organize, and manage your projects. Additionally, for workspaces with SSO enabled, you can restrict access to projects within a folder to certain team members, which enhances the security of your data.

Web App

Viewing Folders

From your workspace view, any Project Folders you have will appear at the top. Your workspace can have one or more Project Folders, and each Project Folder can contain one or more Projects.

Project Folders appear at the top of your Workspace

Creating a Folder

To create a new folder, click the "+ New Folder" button in the top right. Provide a name for your folder and click "Save". The page will navigate to your project folder where you can create a new project. Any project created from the project folder view will automatically added to that folder.

[Roboflow Documentation] Project Folders - Create Project - Watch Video

Creating a new Project Folder

Renaming a Folder

To rename a folder, click on the dropdown menu (3 dots) on the project folder. Select the "Rename" option, and then provide the new name for your project. After clicking "Save", your folder will have its new name.

[Roboflow Documentation] Project Folders - Rename Folder - Watch Video

Managing Projects in Folders

You can move existing projects into a folder. To move a project, click on the project's dropdown menu (3 dots) and select "Move Project". You will then see a pop up where you can select the new target destination. If you do not have any project folders, you can add one by clicking the "New Folder" button. Otherwise, you can select any of your existing folders as the target location. If you want to move your project out of a folder, you can select your workspace's name.

You can also drag a project or a folder onto a folder card to move it there. If you select several folders, drag one of them to move them all.

[Roboflow Documentation] Project Folders - Move Project - Watch Video

Deleting a Folder

You can delete a folder by clicking the dropdown menu (3 dots) on the project folder and selecting the "Delete" option (this action cannot be undone). Deleting a folder does not delete what is in it. Its projects, Workflows, and subfolders move to the folder one level up, or to the workspace level if the folder is at the top.

[Roboflow Documentation] Project Folders - Delete Folder - Watch Video

Custom Folder Permissions

Folders provide a great way to organize and manage your projects, but they also enable you to set custom permissions for a subset of your folders. For example, if you only want a few members of your workspace to access projects in a particular folder, you can accomplish that with Roboflow's SSO integration. To get started, please contact support and we will be happy to get you set up.

Project Folders API

Project Folders can be managed programmatically using the Roboflow API. For details on available endpoints, view the Project Folders API documentation.

HTTP API

Project Folders is available on Enterprise plans.

Folders take project URL slugs and return folder IDs. Use the ID from create or list in every call that names a folder.

Create a folder

Create a project folder

post

Creates a project folder and moves the listed projects into it. When Billing Folders is on, the folder also gets its own API key. Requires folder:create. Workspaces can limit who creates top-level folders.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

Body
namestringRequired

Folder name. It cannot be blank, and no other project or Workflow folder at the same level can use it. Names are compared without case and without leading or trailing spaces, so demos and Demos count as the same name.

parent_idstringOptional

ID of the folder to create this one in. Leave out for a top-level folder. A subfolder gets its parent's auth_groups when you do not set them.

projectsstring[]Optional

Project URL slugs (ex: dog-breeds-mi53). Every project must belong to this workspace.

external_idstringOptional

Your ID for the folder in an external system.

Responses
400

The name is blank or already used at that level (ex: Folder name is required).

application/json
errorone ofOptional
stringOptional
or
Other propertiesanyOptional
post/{workspace}/groups
POST /{workspace}/groups HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 111

{
  "name": "Client Demos",
  "projects": [
    "client-demo-project-1",
    "another-project"
  ],
  "external_id": "jfowke123jfiowje"
}
{
  "error": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

List folders

Pass groupId to get a single folder.

List or get project folders

get

Lists the project folders your credential can see, or one folder when you pass groupId. A key scoped to a folder sees that folder and the folders inside it. An OAuth token sees the folders its user can read. Folder access settings (auth_groups) are not returned. Requires folder:read.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

Query parameters
groupIdstringOptional

Folder ID. Returns only that folder.

Example: Fh2kQ8vLx0aZ1bC3dE4f
Responses
400

The request is invalid.

application/json
errorone ofOptional
stringOptional
or
Other propertiesanyOptional
get/{workspace}/groups
GET /{workspace}/groups HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "error": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Update a folder

Update a project folder

post

Renames a folder, changes its external ID or permission groups, or moves it under another folder. Send at least one field. To move projects in or out, use the folder's projects endpoint. Requires folder:update.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

folderIdstringRequired

Project folder ID.

Query parameters
returnUpdatedbooleanOptional

Set to true to return the updated folder in data.

Body
namestringOptional

New name, with the same rules as when you create a folder. An empty string is ignored and keeps the current name. A name of only spaces returns 400.

external_idstringOptional

Your ID for the folder in an external system.

parent_idstring · nullableOptional

ID of the folder to move this one into, or null to move it to the top level of the workspace.

Responses
400

No field was sent, the name breaks the naming rules, or the move would leave a device with a configuration it cannot run (ex: an Asset Library video the device's API key cannot read).

application/json
errorone ofOptional
stringOptional
or
Other propertiesanyOptional
post/{workspace}/groups/{folderId}
POST /{workspace}/groups/{folderId} HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "name": "A new name"
}
{
  "error": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Add projects to a folder

Add projects to a folder

patch

Moves one or more projects into the folder, out of wherever they were. Requires folder:update.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

folderIdstringRequired

Project folder ID.

Body
projectsstring[]Required

Project URL slugs (ex: dog-breeds-mi53). Every project must belong to this workspace.

Responses
400

The request is invalid.

application/json
errorone ofOptional
stringOptional
or
Other propertiesanyOptional
patch/{workspace}/groups/{folderId}/projects
PATCH /{workspace}/groups/{folderId}/projects HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32

{
  "projects": [
    "dog-breeds-mi53"
  ]
}
{
  "error": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Remove projects from a folder

Removed projects go to the top level of the workspace, even when the folder is nested.

Remove projects from a folder

delete

Moves one or more projects out of the folder to the top level of the workspace, not to the parent folder. Requires folder:update.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

folderIdstringRequired

Project folder ID.

Body
projectsstring[]Required

Project URL slugs (ex: dog-breeds-mi53). Every project must belong to this workspace.

Responses
400

The request is invalid.

application/json
errorone ofOptional
stringOptional
or
Other propertiesanyOptional
delete/{workspace}/groups/{folderId}/projects
DELETE /{workspace}/groups/{folderId}/projects HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32

{
  "projects": [
    "dog-breeds-mi53"
  ]
}
{
  "error": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Delete a folder

This cannot be undone.

Delete a project folder

delete

Deletes a folder. Its projects, Workflows, and subfolders are not deleted: they move to the parent folder, or to the top level of the workspace. Its folder API keys are revoked. Requires folder:delete.

Authorizations
AuthorizationstringRequired

Roboflow API key or OAuth access token.

Path parameters
workspacestringRequired

Workspace URL slug.

folderIdstringRequired

Project folder ID.

Responses
400

The request is invalid, or deleting the folder would leave a device with a configuration it cannot run (ex: an Asset Library video the device's API key cannot read).

application/json
errorone ofOptional
stringOptional
or
Other propertiesanyOptional
delete/{workspace}/groups/{folderId}
DELETE /{workspace}/groups/{folderId} HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "error": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Python SDK

Project folders organize the projects in a workspace into nested groups. The Python SDK exposes folder listing and creation directly on Workspace; update and delete are available through the low-level rfapi adapter.

Project folders are an Enterprise feature. The folder endpoints return 403 for non-Enterprise workspaces.

List folders

Create a folder

Parameters

  • name (str) - folder name shown in the web app.

  • parent_id (str, optional) - id of an existing folder to nest under. Omit for a top-level folder.

  • project_ids (list[str], optional) - project ids to move into the folder at creation time.

Get a folder

Rename or update a folder

Delete a folder

Deleting a folder does not delete its projects. Its projects, Workflows, and subfolders move to the parent folder, or to the top level of the workspace.

CLI

You can create, list, update, and delete workspace folders from the command line.

List Folders

With JSON output:

Get Folder Details

Create a Folder

Options

Flag
Description

--parent

Parent folder ID (for nesting)

--projects

Comma-separated project IDs to include

Example with projects:

Update a Folder

Rename a folder:

Delete a Folder

JSON Output

All folder commands support --json for structured output:

Exit codes: 0 = success, 1 = error, 2 = auth error, 3 = not found.

Last updated

Was this helpful?