> ## 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.

# Get Project

> Get the active project. Depends on both global and project config.



## OpenAPI

````yaml get /project
openapi: 3.0.0
info:
  title: Daytalog API
  version: 0.1.0
servers:
  - url: http://localhost:5252
security:
  - ApiKeyAuth: []
paths:
  /project:
    get:
      summary: Get Project
      description: Get the active project. Depends on both global and project config.
      responses:
        '200':
          description: Project data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizeResponse'
        '404':
          description: No project loaded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjecteNotFoundResponse'
components:
  schemas:
    Project:
      type: object
      properties:
        id:
          type: string
        project_name:
          type: string
        path:
          type: string
        created_at:
          type: string
          format: date-time
    UnauthorizeResponse:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
    ProjecteNotFoundResponse:
      type: object
      properties:
        error:
          type: string
          example: No Project Loaded
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-token

````