---
title: "Create Project In Workspace"
method: POST
path: "/workspaces/{workspace_id}/projects"
tags: ["Workspaces"]
---

# Create Project In Workspace

`POST /workspaces/{workspace_id}/projects`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/workspaces/{workspace_id}/projects`
- Auth: API key in header `Authorization`

Create a new project in a workspace

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- ProjectCreateRequest: API request schema for creating a project
  - `name` string, required: Name of the project
  - `default_role` 'full_access' | 'editor' | 'commenter' | 'downloader' | 'viewer' | 'no_access': Role on a project.

## Response `201`

Successful Response

- ProjectCreateResponse: API response schema for creating a project
  - `id` string, uuid, required: Project ID
  - `name` string, required: Project name
  - `root_directory_id` string, uuid, required: The project's top-level directory. Use it as `parent_id` to list the project's contents.
  - `trash_directory_id` string, uuid, required: Trash directory ID - deleted assets are moved here
  - `default_role` 'full_access' | 'editor' | 'commenter' | 'downloader' | 'viewer' | 'no_access', required: Role on a project.
  - `is_active` boolean, required: Whether the project is active. Inactive projects are hidden from listing and discovery surfaces.
  - `num_assets` integer, required: Number of assets in project
  - `size_bytes` integer, required: Total size of assets in bytes
  - `duration` number, required: Total duration in seconds
  - `created_by_user_id` string, uuid, required: ID of the user that created the project
  - `created` string, date-time, required: Creation timestamp
  - `updated` string, date-time, required: Last update timestamp

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
