---
title: "Create Project"
method: POST
path: "/v1/projects/"
tags: ["Projects"]
---

# Create Project

`POST /v1/projects/`

## Request

- Base URL: `https://logfire-api.pydantic.dev/api`
- URL: `https://logfire-api.pydantic.dev/api/v1/projects/`
- Auth: OAuth 2
  - Authorization code: `api/oauth/authorize`
  - Token URL: `/api/oauth/token` scopes: `organization:create_project`
- TypeScript: <https://skmtc.dev/pydantic/apis/pydantic-logfire-api/docs/v1/projects/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ProjectCreate
  - `project_name` string, required
  - `description` string, nullable
  - `visibility` 'private' | 'public'

## Response `201`

Successful Response

- ProjectRead
  - `id` string, uuid, required
  - `project_name` string, required
  - `created_at` string, date-time, required
  - `description` string, nullable, required
  - `organization_name` string, required
  - `visibility` 'private' | 'public', required

## Other responses

- `422`: Validation Error
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/pydantic/apis/pydantic-logfire-api.md) - [All operations](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/revisions/7996e45256f4?raw)
