Samsara Settings API

The Settings API from Samsara — 3 operation(s) for settings.

OpenAPI Specification

samsara-settings-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  description: Gain greater visibility by connecting your fleets, equipment, sites, and people.
  title: Samsara Settings API
  version: '2024-11-18'
servers:
- url: https://api.samsara.com/
- url: https://api.eu.samsara.com/
security:
- AccessTokenHeader: []
tags:
- name: Settings
paths:
  /fleet/settings/compliance:
    get:
      description: "Get organization's compliance settings, including carrier name, office address, and DOT number\n\n <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href=\"https://developers.samsara.com/docs/rate-limits\" target=\"_blank\">here</a>).\n\nTo use this endpoint, select **Read ELD Compliance Settings (US)** under the Compliance category when creating or editing an API token. <a href=\"https://developers.samsara.com/docs/authentication#scopes-for-api-tokens\" target=\"_blank\">Learn More.</a>\n \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href=\"https://forms.gle/zkD4NCH7HjKb7mm69\" target=\"_blank\">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href=\"https://www.samsara.com/help\" target=\"_blank\">submit a case</a> to our support team."
      operationId: getComplianceSettings
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsResponseBody'
          description: OK response.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsUnauthorizedErrorResponseBody'
          description: Unauthorized response.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsNotFoundErrorResponseBody'
          description: Not Found response.
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsMethodNotAllowedErrorResponseBody'
          description: Method Not Allowed response.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsTooManyRequestsErrorResponseBody'
          description: Too Many Requests response.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsInternalServerErrorResponseBody'
          description: Internal Server Error response.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsNotImplementedErrorResponseBody'
          description: Not Implemented response.
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsBadGatewayErrorResponseBody'
          description: Bad Gateway response.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsServiceUnavailableErrorResponseBody'
          description: Service Unavailable response.
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsGatewayTimeoutErrorResponseBody'
          description: Gateway Timeout response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetComplianceSettingsBadRequestErrorResponseBody'
          description: Bad Request response.
      summary: Get Compliance Settings
      tags:
      - Settings
    patch:
      description: "Update organization's compliance settings, including carrier name, office address, and DOT number\n\n <b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href=\"https://developers.samsara.com/docs/rate-limits\" target=\"_blank\">here</a>).\n\nTo use this endpoint, select **Write ELD Compliance Settings (US)** under the Compliance category when creating or editing an API token. <a href=\"https://developers.samsara.com/docs/authentication#scopes-for-api-tokens\" target=\"_blank\">Learn More.</a>\n \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href=\"https://forms.gle/zkD4NCH7HjKb7mm69\" target=\"_blank\">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href=\"https://www.samsara.com/help\" target=\"_blank\">submit a case</a> to our support team."
      operationId: patchComplianceSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettingsPatchComplianceSettingsRequestBody'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsResponseBody'
          description: OK response.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsUnauthorizedErrorResponseBody'
          description: Unauthorized response.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsNotFoundErrorResponseBody'
          description: Not Found response.
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsMethodNotAllowedErrorResponseBody'
          description: Method Not Allowed response.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsTooManyRequestsErrorResponseBody'
          description: Too Many Requests response.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsInternalServerErrorResponseBody'
          description: Internal Server Error response.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsNotImplementedErrorResponseBody'
          description: Not Implemented response.
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsBadGatewayErrorResponseBody'
          description: Bad Gateway response.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsServiceUnavailableErrorResponseBody'
          description: Service Unavailable response.
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsGatewayTimeoutErrorResponseBody'
          description: Gateway Timeout response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchComplianceSettingsBadRequestErrorResponseBody'
          description: Bad Request response.
      summary: Update Compliance Settings
      tags:
      - Settings
      x-codegen-request-body-name: PatchComplianceSettingsRequestBody
  /fleet/settings/driver-app:
    get:
      description: "Get driver app settings.\n\n <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href=\"https://developers.samsara.com/docs/rate-limits\" target=\"_blank\">here</a>).\n\nTo use this endpoint, select **Read Driver App Settings** under the Drivers category when creating or editing an API token. <a href=\"https://developers.samsara.com/docs/authentication#scopes-for-api-tokens\" target=\"_blank\">Learn More.</a>\n \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href=\"https://forms.gle/zkD4NCH7HjKb7mm69\" target=\"_blank\">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href=\"https://www.samsara.com/help\" target=\"_blank\">submit a case</a> to our support team."
      operationId: getDriverAppSettings
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsResponseBody'
          description: OK response.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsUnauthorizedErrorResponseBody'
          description: Unauthorized response.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsNotFoundErrorResponseBody'
          description: Not Found response.
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsMethodNotAllowedErrorResponseBody'
          description: Method Not Allowed response.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsTooManyRequestsErrorResponseBody'
          description: Too Many Requests response.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsInternalServerErrorResponseBody'
          description: Internal Server Error response.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsNotImplementedErrorResponseBody'
          description: Not Implemented response.
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsBadGatewayErrorResponseBody'
          description: Bad Gateway response.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsServiceUnavailableErrorResponseBody'
          description: Service Unavailable response.
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsGatewayTimeoutErrorResponseBody'
          description: Gateway Timeout response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGetDriverAppSettingsBadRequestErrorResponseBody'
          description: Bad Request response.
      summary: Get Driver App Settings
      tags:
      - Settings
    patch:
      description: "Update driver app settings.\n\n <b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href=\"https://developers.samsara.com/docs/rate-limits\" target=\"_blank\">here</a>).\n\nTo use this endpoint, select **Write Driver App Settings** under the Drivers category when creating or editing an API token. <a href=\"https://developers.samsara.com/docs/authentication#scopes-for-api-tokens\" target=\"_blank\">Learn More.</a>\n \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href=\"https://forms.gle/zkD4NCH7HjKb7mm69\" target=\"_blank\">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href=\"https://www.samsara.com/help\" target=\"_blank\">submit a case</a> to our support team."
      operationId: patchDriverAppSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettingsPatchDriverAppSettingsRequestBody'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsResponseBody'
          description: OK response.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsUnauthorizedErrorResponseBody'
          description: Unauthorized response.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsNotFoundErrorResponseBody'
          description: Not Found response.
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsMethodNotAllowedErrorResponseBody'
          description: Method Not Allowed response.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsTooManyRequestsErrorResponseBody'
          description: Too Many Requests response.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsInternalServerErrorResponseBody'
          description: Internal Server Error response.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsNotImplementedErrorResponseBody'
          description: Not Implemented response.
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsBadGatewayErrorResponseBody'
          description: Bad Gateway response.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsServiceUnavailableErrorResponseBody'
          description: Service Unavailable response.
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsGatewayTimeoutErrorResponseBody'
          description: Gateway Timeout response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsPatchDriverAppSettingsBadRequestErrorResponseBody'
          description: Bad Request response.
      summary: Update Driver App Settings
      tags:
      - Settings
      x-codegen-request-body-name: PatchDriverAppSettingsRequestBody
  /fleet/settings/safety:
    get:
      description: "Get safety settings\n\n <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href=\"https://developers.samsara.com/docs/rate-limits\" target=\"_blank\">here</a>).\n\nTo use this endpoint, select **Read Safety Events & Scores** under the Safety & Cameras category when creating or editing an API token. <a href=\"https://developers.samsara.com/docs/authentication#scopes-for-api-tokens\" target=\"_blank\">Learn More.</a>\n \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href=\"https://forms.gle/zkD4NCH7HjKb7mm69\" target=\"_blank\">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href=\"https://www.samsara.com/help\" target=\"_blank\">submit a case</a> to our support team."
      operationId: getSafetySettings
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsResponseBody'
          description: OK response.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsUnauthorizedErrorResponseBody'
          description: Unauthorized response.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsNotFoundErrorResponseBody'
          description: Not Found response.
        '405':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsMethodNotAllowedErrorResponseBody'
          description: Method Not Allowed response.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsTooManyRequestsErrorResponseBody'
          description: Too Many Requests response.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsInternalServerErrorResponseBody'
          description: Internal Server Error response.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsNotImplementedErrorResponseBody'
          description: Not Implemented response.
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsBadGatewayErrorResponseBody'
          description: Bad Gateway response.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsServiceUnavailableErrorResponseBody'
          description: Service Unavailable response.
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsGatewayTimeoutErrorResponseBody'
          description: Gateway Timeout response.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetySettingsGetSafetySettingsBadRequestErrorResponseBody'
          description: Bad Request response.
      summary: Get Safety Settings
      tags:
      - Settings
components:
  schemas:
    HarshAccelSensitivityGForceSettingsObjectResponseBody:
      description: The harsh acceleration sensitivity settings.
      properties:
        heavyDuty:
          description: Harsh acceleration sensitivity settings for heavy duty vehicle.
          example: '0.29'
          type: string
        lightDuty:
          description: Harsh acceleration sensitivity settings for light duty vehicle.
          example: '0.33'
          type: string
        passenger:
          description: Harsh acceleration sensitivity settings for passenger car.
          example: '0.43'
          type: string
      type: object
    SafetySettingsGetSafetySettingsBadRequestErrorResponseBody:
      description: Bad Request parameters
      properties:
        message:
          description: Message of error
          example: Invalid value for parameter.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    DriverAppSettingsGamificationConfigTinyObjectResponseBody:
      description: Gamification configuration for the Driver App.
      properties:
        anonymizeDriverNames:
          description: Hide the names of other drivers when viewing the driver leaderboard in the mobile app.
          example: true
          type: boolean
      type: object
    HarshBrakeSensitivityV2SettingsObjectResponseBody:
      description: The harsh brake sensitivity settings.
      properties:
        heavyDuty:
          description: 'Harsh brake sensitivity settings for heavy duty vehicle.  Valid values: `unknown`, `invalid`, `off`, `veryLow`, `low`, `normal`, `high`'
          enum:
          - unknown
          - invalid
          - 'off'
          - veryLow
          - low
          - normal
          - high
          example: normal
          type: string
        lightDuty:
          description: 'Harsh brake sensitivity settings for light duty vehicle.  Valid values: `unknown`, `invalid`, `off`, `veryLow`, `low`, `normal`, `high`'
          enum:
          - unknown
          - invalid
          - 'off'
          - veryLow
          - low
          - normal
          - high
          example: normal
          type: string
        passenger:
          description: 'Harsh brake sensitivity settings for passenger car.  Valid values: `unknown`, `invalid`, `off`, `veryLow`, `low`, `normal`, `high`'
          enum:
          - unknown
          - invalid
          - 'off'
          - veryLow
          - low
          - normal
          - high
          example: normal
          type: string
      type: object
    SettingsGetDriverAppSettingsBadGatewayErrorResponseBody:
      description: Bad Gateway
      properties:
        message:
          description: Message of error
          example: 'rpc error: code = Unknown desc = connection refused'
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    SettingsPatchComplianceSettingsRequestBody:
      description: Information set here will be displayed in roadside inspections and in the transferred US DOT datafile. Can be set or updated through the Samsara Settings page or the API at any time. To override these fields for specific drivers, please visit Driver Settings
      properties:
        allowUnregulatedVehiclesEnabled:
          description: '[deprecated] Allow Unregulated Vehicles. This setting is deprecated as all organizations can now mark vehicles as unregulated.'
          example: false
          type: boolean
        canadaHosEnabled:
          description: Enable Canada HOS
          example: true
          type: boolean
        carrierName:
          description: Carrier Name / Principal Place of Business Name
          example: ABC Trucking
          type: string
        dotNumber:
          description: Carrier US DOT Number
          example: 12345678
          format: int64
          type: integer
        driverAutoDutyEnabled:
          description: Enable Driver Auto-Duty
          example: true
          type: boolean
        editCertifiedLogsEnabled:
          description: Drivers Can Edit Certified Log
          example: false
          type: boolean
        forceManualLocationForDutyStatusChangesEnabled:
          description: Force Manual Location For Duty Status Changes
          example: false
          type: boolean
        forceReviewUnassignedHosEnabled:
          description: Force Review of Unassigned HOS
          example: false
          type: boolean
        mainOfficeFormattedAddress:
          description: Main Office Address / Principal Place of Businesss Address
          example: 123 Main Street
          type: string
        persistentDutyStatusEnabled:
          description: Persistent Duty Status
          example: true
          type: boolean
      type: object
    SettingsPatchDriverAppSettingsNotImplementedErrorResponseBody:
      description: Requested endpoint is not yet implemented
      properties:
        message:
          description: Message of error
          example: Not implemented.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    SettingsGetDriverAppSettingsMethodNotAllowedErrorResponseBody:
      description: Method not allowed
      properties:
        message:
          description: Message of error
          example: DELETE not allowed on /endpoint.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    SettingsGetComplianceSettingsGatewayTimeoutErrorResponseBody:
      description: Gateway timeout
      properties:
        message:
          description: Message of error
          example: context deadline exceeded
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    SettingsPatchComplianceSettingsNotImplementedErrorResponseBody:
      description: Requested endpoint is not yet implemented
      properties:
        message:
          description: Message of error
          example: Not implemented.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    DriverAppSettingsTrailerSelectionConfigTinyObjectResponseBody:
      description: Trailer selection setting configuration for the Driver App.
      properties:
        driverTrailerCreationEnabled:
          description: Allow drivers to create new trailers in the Samsara Driver app.
          example: true
          type: boolean
        maxNumOfTrailersSelected:
          description: Trailer selection limit.
          maximum: 8
          type: integer
        orgTrailerSearch:
          description: Allow drivers to search for trailers outside of their selection tag when connected to the internet
          example: true
          type: boolean
      type: object
    SettingsGetComplianceSettingsTooManyRequestsErrorResponseBody:
      description: Too many requests
      properties:
        message:
          description: Message of error
          example: Exceeded rate limit.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    InattentiveDrivingDetectionAlertSettingsObjectResponseBody:
      description: Enables AI detection of inattentive driving events.
      properties:
        hasInCabAudioAlertsEnabled:
          description: Indicates whether in-cab audio alerts for inattentive driving are turned on.
          example: true
          type: boolean
        isEnabled:
          description: Indicates whether AI event detection for inattentive driving is turned on.
          example: true
          type: boolean
        severity:
          description: 'Severity of inattentive driving events. Options include low (alerts for all events), medium (alerts for medium and high severity events), and high (alerts for high severity events only).  Valid values: `low`, `medium`, `high`'
          enum:
          - low
          - medium
          - high
          example: low
          type: string
        speedingThresholdMph:
          description: Alert when speed is over this many miles per hour.
          example: 10
          format: double
          type: number
      type: object
    SettingsGetComplianceSettingsServiceUnavailableErrorResponseBody:
      description: Service unavailable
      properties:
        message:
          description: Message of error
          example: context deadline exceeded
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    SettingsGetDriverAppSettingsNotFoundErrorResponseBody:
      description: Resource not found
      properties:
        message:
          description: Message of error
          example: Object not found.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    speedingSeverityLevelResponseBody:
      description: The settings for a specific speeding severity level.
      properties:
        durationMs:
          description: The amount of time the vehicle is speeding in this category before being attributed to this level
          example: 60
          format: int32
          type: integer
        isEnabled:
          default: true
          description: Indicates the severity level is enabled
          example: true
          type: boolean
        severityLevel:
          description: 'The severity level name.  Valid values: `light`, `moderate`, `heavy`, `severe`'
          enum:
          - light
          - moderate
          - heavy
          - severe
          example: light
          type: string
        speedOverLimitThreshold:
          description: The minimum speed above the speed limit that will get attributed to this severity level.
          example: 10
          format: float
          type: number
      required:
      - durationMs
      - isEnabled
      - severityLevel
      - speedOverLimitThreshold
      type: object
    SettingsGetComplianceSettingsUnauthorizedErrorResponseBody:
      description: Unauthorized
      properties:
        message:
          description: Message of error
          example: Invalid token.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    DriverAppSettingsTrailerSelectionConfigTinyObjectRequestBody:
      description: Trailer selection setting configuration for the Driver App.
      properties:
        driverTrailerCreationEnabled:
          description: Allow drivers to create new trailers in the Samsara Driver app.
          example: true
          type: boolean
        maxNumOfTrailersSelected:
          description: Trailer selection limit.
          maximum: 8
          type: integer
        orgTrailerSearch:
          description: Allow drivers to search for trailers outside of their selection tag when connected to the internet
          example: true
          type: boolean
      type: object
    SafetySettingsGetSafetySettingsNotImplementedErrorResponseBody:
      description: Requested endpoint is not yet implemented
      properties:
        message:
          description: Message of error
          example: Not implemented.
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          example: 8916e1c1
          type: string
      required:
      - message
      - requestId
      type: object
    SafetySettingsGetSafetySettingsResponseBody:
      properties:
        data:
          description: Safety settings for a single organization.
          items:
            $ref: '#/components/schemas/SafetySettingsObjectResponseBody'
          type: array
      required:
      - data
      type: object
    SettingsGetDriverAppSettingsServiceUnavailableErrorResponseBody:
      description: Service unavailable
      properties:
        message:
          description: Message of error
          example: context deadline exceeded
          type: string
        requestId:
          description: The request ID; used when reaching out to support for issues with requests.
          exa

# --- truncated at 32 KB (76 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/samsara/refs/heads/main/openapi/samsara-settings-api-openapi.yml