> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daytalog.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Project

> Create and load project



## OpenAPI

````yaml post /project/create
openapi: 3.0.0
info:
  title: Daytalog API
  version: 0.1.0
servers:
  - url: http://localhost:5252
security:
  - ApiKeyAuth: []
paths:
  /project/create:
    post:
      summary: Create Project
      description: Create and load project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewProjectRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizeResponse'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    NewProjectRequest:
      type: object
      required:
        - project_name
      properties:
        project_name:
          type: string
    Project:
      type: object
      properties:
        id:
          type: string
        project_name:
          type: string
        path:
          type: string
        created_at:
          type: string
          format: date-time
    ValidationErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Validation Error
        details:
          type: array
          items:
            type: object
            properties:
              prop:
                type: string
              message:
                type: string
    UnauthorizeResponse:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
    ErrorResponse:
      type: object
      properties:
        error:
          oneOf:
            - type: string
            - type: array
              items:
                type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-token

````