---
title: "Get HOS signin and signout"
method: GET
path: "/v1/fleet/hos_authentication_logs"
tags: ["Hours of Service"]
---

# Get HOS signin and signout

`GET /v1/fleet/hos_authentication_logs`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/v1/fleet/hos_authentication_logs`
- Auth: HTTP bearer

> 🚧 This endpoint is still on our legacy API.

Get the HOS (hours of service) signin and signout logs for the specified driver. The response includes 4 fields that are now deprecated.

**Note:** If data is still being uploaded from the Samsara Driver App, it may not be completely reflected in the response from this endpoint. The best practice is to wait a couple of days before querying this endpoint to make sure that all data from the Samsara Driver App has been uploaded. 

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

To use this endpoint, select **Read ELD Hours of Service (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>

## Query parameters

- `driverId` integer, required
- `startMs` integer, required
- `endMs` integer, required

## Response `200`

HOS authentication logs for the specified driver.

- V1HosAuthenticationLogsResponse
  - `authenticationLogs` V1HosAuthenticationLogsResponseAuthenticationLogs[]
    - `actionType` string: The log type - one of 'signin' or 'signout'
    - `address` string: DEPRECATED: THIS FIELD MAY NOT BE POPULATED
    - `addressName` string: DEPRECATED: THIS FIELD MAY NOT BE POPULATED
    - `city` string: DEPRECATED: THIS FIELD MAY NOT BE POPULATED
    - `happenedAtMs` integer: The time at which the event was recorded in UNIX milliseconds.
    - `state` string: DEPRECATED: THIS FIELD MAY NOT BE POPULATED

## Other responses

- `default`: Unexpected error.

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
