Workspace and Project IDs
Many Roboflow API endpoints and SDK methods require a workspace ID and/or project ID. This page explains how to find these identifiers.
Workspace ID
Your workspace ID is the URL-friendly slug of your workspace name. You can find it in the URL bar when viewing your workspace in the Roboflow dashboard:
https://app.roboflow.com/<workspace-id>
For example, if your workspace URL is https://app.roboflow.com/my-company, your workspace ID is my-company.
Project ID
Your project ID is the URL-friendly slug of your project name. You can find it in the URL bar when viewing a project:
https://app.roboflow.com/<workspace-id>/<project-id>
For example, if your project URL is https://app.roboflow.com/my-company/vehicle-detection, your project ID is vehicle-detection.
Model ID
The model ID combines a project ID with a version number:
<project-id>/<version-number>
For example: vehicle-detection/3
The model ID is composed of the string <project_id>/<version_id>. You can find these in the URL when viewing a specific version of your project in the Roboflow dashboard.
Finding IDs Programmatically
Python SDK
import roboflow
rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
workspace = rf.workspace()
print(f"Workspace ID: {workspace.id}")
projects = workspace.project_list
for project in projects:
print(f"Project ID: {project}")