# Create Project

`POST /v1/projects`

Create a new project.

Projects are used to organize finetune jobs. Each finetune job must be
associated with a project.

- Base URL: `https://api.qualia.dev`
- Authentication: an API key in the `X-API-Key` header, or `Authorization: Bearer …`

## Request body

Required: `application/json` `ProjectCreateRequest`

## Responses

- `200` Project created successfully: `application/json` `ProjectCreateResponse`
- `401` Invalid or missing API key: `application/json` `ErrorResponse`
- `422` Validation error

## Schemas

```yaml
ProjectCreateRequest:
  properties:
    name:
      type: string
      maxLength: 255
      minLength: 1
      description: Project name
    description:
      description: Project description
      maxLength: 1000
      type:
        - string
        - "null"
    account_id:
      description: Account to create the project in (the dashboard's active account). Falls back to the caller's personal account; platform verifies membership.
      format: uuid
      type:
        - string
        - "null"
  type: object
  required:
    - name
  title: ProjectCreateRequest
  description: Request to create a new project
ProjectCreateResponse:
  properties:
    created:
      type: boolean
      description: Whether the project was created
    project_id:
      type: string
      format: uuid
      description: ID of the created project
  type: object
  required:
    - created
    - project_id
  title: ProjectCreateResponse
  description: Response for project creation
ErrorResponse:
  properties:
    detail:
      type: string
      description: Error message describing what went wrong
  type: object
  required:
    - detail
  title: ErrorResponse
  description: Standard error response.
```
