# Create a Project

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

**Example Request**

```bash
$ 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
    - semantic-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**

```json
{
    "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
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/developer/rest-api/create-a-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
