Create a Project

You can create a Project in a Workspace by making a POST request to the /:workspace/projects endpoint.

Example Request

$ curl --location 'https://api.roboflow.com/roboflow/projects?api_key=$ROBOFLOW_API_KEY \
--header 'Content-Type: application/json' \
--data '{
    "name": "Sharks Dataset",
    "type": "object-detection",
    "annotation": "sharks"
}'

Parameters

- name (string) - [Required] the name of the project
- type (string) - [Required] the project type. Accepted values:
    - object-detection
    - single-label-classification
    - multi-label-classification
    - instance-segmentation
    - semenatic-segmentation
- license (string) - Required for public workspaces unless the value is "Public". Accepted values:
    - Public Domain
    - MIT
    - CC BY 4.0
    - BY-NC-SA 4.0
    - OBdL v1.0
    - Private
- annotation (string, alphanumeric) - [Required] the name of the annotation group
- group (string) - Id of the group to add this project to 

Example Response

{
    "id": "roboflow/sharks-dataset",
    "type": "object-detection",
    "name": "Sharks Dataset",
    "created": 1688739471567,
    "updated": 1688739471567,
    "images": 0,
    "unannotated": 0,
    "annotation": "sharks",
    "versions": 0,
    "public": false,
    "splits": {},
    "colors": {},
    "classes": {},
    "icon": null
}

Last updated

Was this helpful?