---
title: "Gets play logs for the account."
method: GET
path: "/adhawk/playlogs"
tags: ["AdHawk"]
---

# Gets play logs for the account.

`GET /adhawk/playlogs`

## Query parameters

- `startDate` string, date-time
- `endDate` string, date-time
- `deviceId` string[]
- `fileId` string[]
- `limit` integer

## Response `200`

OK

- AdHawkPlayLog[]
  - `id` string, nullable — Unique identifier for this play log entry
  - `timestamp` string, date-time — Timestamp when the content was played
  - `device_id` string, nullable — The device ID where the content was played
  - `file_id` string, nullable — The media file ID that was played
  - `file_name` string, nullable — The name of the media file
  - `duration` integer, nullable — Duration of the play in seconds
  - `type` integer, nullable — Type of play (internal use)
  - `utc_offset` integer, nullable — UTC offset of the device at the time of play

---

[API](https://skmtc.net/reveldigital/apis/revel-digital-rest-api.md) · [All operations](https://skmtc.net/reveldigital/apis/revel-digital-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reveldigital/revel-digital-rest-api/versions/f23a94aea621/schema)
