## Create Project

`client.Projects.New(ctx, params) (*Project, error)`

**post** `/api/v2/projects`

Create a new project in the given organization.

### Parameters

- `params ProjectNewParams`

  - `OrganizationID param.Field[string]`

    Query param

  - `Name param.Field[string]`

    Body param: The project's display name.

### Returns

- `type Project struct{…}`

  API response schema for a project.

  - `ID string`

    The project's unique identifier.

  - `Name string`

    The project's display name.

  - `OrganizationID string`

    The organization the project belongs to.

  - `CreatedAt Time`

    Creation datetime

  - `IsDefault bool`

    Whether this project is the default project for its organization.

  - `UpdatedAt Time`

    Update datetime

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/run-llama/llamacloud-admin-go"
  "github.com/run-llama/llamacloud-admin-go/option"
)

func main() {
  client := llamacloudadmin.NewClient(
    option.WithAPIKey("My API Key"),
  )
  project, err := client.Projects.New(context.TODO(), llamacloudadmin.ProjectNewParams{
    OrganizationID: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    Name: "x",
  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", project.ID)
}
```

#### Response

```json
{
  "id": "id",
  "name": "name",
  "organization_id": "organization_id",
  "created_at": "2019-12-27T18:11:19.117Z",
  "is_default": true,
  "updated_at": "2019-12-27T18:11:19.117Z"
}
```
