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

# List Logs

> Lists all logs in the project



## OpenAPI

````yaml get /logs
openapi: 3.0.0
info:
  title: Daytalog API
  version: 0.1.0
servers:
  - url: http://localhost:5252
security:
  - ApiKeyAuth: []
paths:
  /logs:
    get:
      summary: List Logs
      description: Lists all logs in the project
      responses:
        '200':
          description: Log array
          content:
            application/json:
              schema:
                type: object
                properties:
                  logs:
                    type: array
                    items:
                      $ref: '#/components/schemas/LogResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizeResponse'
components:
  schemas:
    LogResponse:
      type: object
      properties:
        id:
          type: string
          minLength: 1
          maxLength: 50
          description: ID of the log
        day:
          type: integer
          minimum: 1
          maximum: 999
          description: Day of the log
        date:
          type: string
          format: date
          description: ISO date string
          example: '2025-05-01'
        unit:
          type: string
        ocf:
          $ref: '#/components/schemas/OcfType'
        sound:
          $ref: '#/components/schemas/SoundType'
        proxy:
          $ref: '#/components/schemas/ProxyType'
        custom:
          type: array
          items:
            $ref: '#/components/schemas/CustomType'
      required:
        - id
        - day
        - date
    UnauthorizeResponse:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
    OcfType:
      type: object
      properties:
        files:
          type: integer
          description: Optional fixed number of files
        size:
          type: integer
          description: Bytes
        duration:
          type: string
          description: Timecode HH:MM:SS:FF
        reels:
          type: array
          items:
            type: string
        copies:
          type: array
          items:
            type: string
        clips:
          type: array
          items:
            $ref: '#/components/schemas/OcfClip'
    SoundType:
      type: object
      properties:
        files:
          type: integer
        size:
          type: integer
          description: Bytes
        copies:
          type: array
          items:
            type: string
        clips:
          type: array
          items:
            $ref: '#/components/schemas/SoundClip'
    ProxyType:
      type: object
      properties:
        files:
          type: integer
        size:
          type: integer
          description: Bytes
        clips:
          type: array
          items:
            $ref: '#/components/schemas/ProxyClip'
    CustomType:
      type: object
      properties:
        schema:
          type: string
          minLength: 1
          maxLength: 50
          description: Schema identifier
        log:
          type: object
        clips:
          type: array
          items:
            $ref: '#/components/schemas/CustomClip'
      description: Schemas not defined in config will be ignored
      additionalProperties: true
    OcfClip:
      type: object
      properties:
        clip:
          type: string
        size:
          type: integer
        copies:
          type: array
          items:
            $ref: '#/components/schemas/Copy'
        tc_start:
          type: string
          description: Timecode HH:MM:SS:FF
        tc_end:
          type: string
          description: Timecode HH:MM:SS:FF
        duration:
          type: string
          description: Timecode HH:MM:SS:FF
        camera_model:
          type: string
        reel:
          type: string
        fps:
          type: number
        sensor_fps:
          type: string
        lens:
          type: string
        resolution:
          type: string
        codec:
          type: string
        gamma:
          type: string
        wb:
          type: string
        tint:
          type: string
        lut:
          type: string
      required:
        - clip
        - size
        - copies
    SoundClip:
      type: object
      properties:
        clip:
          type: string
        size:
          type: integer
        copies:
          type: array
          items:
            $ref: '#/components/schemas/Copy'
        tc_start:
          type: string
          description: Timecode HH:MM:SS:FF
        tc_end:
          type: string
          description: Timecode HH:MM:SS:FF
      required:
        - clip
        - size
        - copies
    ProxyClip:
      type: object
      properties:
        clip:
          type: string
        size:
          type: integer
        format:
          type: string
        codec:
          type: string
        resolution:
          type: string
      required:
        - clip
        - size
        - format
        - codec
        - resolution
    CustomClip:
      type: object
      properties:
        clip:
          type: string
          description: Clip id, required when schema sync method is set to clip
        tc_start:
          type: string
          description: Required when schema sync method is set to tc
          example: '00:00:00:00'
        tc_end:
          type: string
          description: Required when schema sync method is set to tc
          example: '00:00:00:00'
    Copy:
      type: object
      properties:
        volume:
          type: string
        hash:
          type: string
          nullable: true
      required:
        - volume
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-token

````