# Get all driver HOS daily logs

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /openapi/hos/daily-logs/:
    get:
      summary: Get all driver HOS daily logs
      deprecated: false
      description: Get summarized daily Hours of Service charts for the specified drivers.
      operationId: hos_daily_logs_retrieve
      tags:
        - Hours Of Service
        - Hours Of Service
      parameters:
        - name: startDate
          in: query
          description: '2023-05-22'
          required: false
          schema:
            type: string
            format: date
        - name: endDate
          in: query
          description: '2023-05-22'
          required: false
          schema:
            type: string
            format: date
        - name: driverIds
          in: query
          description: ''
          required: true
          schema:
            type: array
            items:
              type: string
              format: uuid
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HosDailyLogsResponse'
              examples:
                HOSDailyLogsResponse:
                  summary: HOS Daily Logs Response
                  value:
                    results:
                      - driver: 660e8400-e29b-41d4-a716-446655440001
                        date: '2024-01-15'
                        statusDurations:
                          onDuty: 28800000
                          offDuty: 21600000
                          driving: 25200000
                          waiting: 0
                          sleepingBed: 21600000
                          personalConveyance: 0
                          yardMove: 0
                        address:
                          formatted: 1.5 miles from Austin, TX
                          location:
                            longitude: -97.7431
                            latitude: 30.2672
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Hours Of Service
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/586350/apis/api-8318757-run
components:
  schemas:
    HosDailyLogsResponse:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/HosDailyLogs'
      required:
        - results
      x-apidog-orders:
        - results
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HosDailyLogs:
      type: object
      properties:
        driver:
          type: string
        date:
          type: string
          format: date
        statusDurations:
          $ref: '#/components/schemas/StatusDurations'
      required:
        - driver
        - date
        - statusDurations
      x-apidog-orders:
        - driver
        - date
        - statusDurations
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    StatusDurations:
      type: object
      properties:
        onDuty:
          type: integer
          description: In Milliseconds
        offDuty:
          type: integer
          description: In Milliseconds
        driving:
          type: integer
          description: In Milliseconds
        waiting:
          type: integer
          description: In Milliseconds
        sleepingBed:
          type: integer
          description: In Milliseconds
        personalConveyance:
          type: integer
          description: In Milliseconds
        yardMove:
          type: integer
          description: In Milliseconds
      required:
        - onDuty
        - offDuty
        - driving
        - waiting
        - sleepingBed
        - personalConveyance
        - yardMove
      x-apidog-orders:
        - onDuty
        - offDuty
        - driving
        - waiting
        - sleepingBed
        - personalConveyance
        - yardMove
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.firsteld.com
    description: Prod Env
security: []

```
