Skip to content
Get started

Create project

projects.create(ProjectCreateParams**kwargs) -> ProjectCreateResponse
POST/api/projects/

Create project

ParametersExpand Collapse
name: str
minLength1
maxLength255
slug: str
minLength1
maxLength255
description: Optional[str]
is_active: Optional[bool]
settings: Optional[object]
ReturnsExpand Collapse
class ProjectCreateResponse:
id: str
formatuuid
created_at: datetime
formatdate-time
name: str
maxLength255
slug: str
maxLength255
updated_at: datetime
formatdate-time
description: Optional[str]
is_active: Optional[bool]
settings: Optional[object]
Create project
from overmind_lab import OvermindLab

client = OvermindLab()
project = client.projects.create(
    name="x",
    slug="slug",
)
print(project.id)
{
  "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "created_at": "2019-12-27T18:11:19.117Z",
  "name": "name",
  "slug": "slug",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "description": "description",
  "is_active": true,
  "settings": {}
}
Returns Examples
{
  "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "created_at": "2019-12-27T18:11:19.117Z",
  "name": "name",
  "slug": "slug",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "description": "description",
  "is_active": true,
  "settings": {}
}