---
title: "Gets ping/heartbeat logs for the account."
method: GET
path: "/adhawk/pinglogs"
tags: ["AdHawk"]
---

# Gets ping/heartbeat logs for the account.

`GET /adhawk/pinglogs`

## Request

- Base URL: `https://api.reveldigital.com`
- URL: `https://api.reveldigital.com/adhawk/pinglogs`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.reveldigital.com/connect/authorize`
    - Token URL: `https://id.reveldigital.com/connect/token` scopes: `webapi`
  - API key in header `X-RevelDigital-ApiKey`
  - API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/docs/adhawk/pinglogs/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `startDate` string, date-time
- `endDate` string, date-time
- `deviceId` string[]
- `type` integer[]
- `minCpuUsage` number, float
- `minMemoryUsage` number, float
- `limit` integer

## Response `200`

OK

- AdHawkPingLog[]
  - `id` string, nullable: Unique identifier for this ping log entry
  - `timestamp` string, date-time: Timestamp of the ping
  - `device_id` string, nullable: The device ID that sent the ping
  - `type` integer: Type of ping (alive, downloading, playing, motion)
  - `sub_type` integer, nullable: Subtype of the ping for more granular classification
  - `cpu_usage` number, double, nullable: CPU usage percentage (0-100)
  - `memory_usage` number, double, nullable: Memory usage percentage (0-100)
  - `disk_usage` number, double, nullable: Disk usage percentage (0-100)
  - `tx_bytes` integer, nullable: Total bytes transmitted since last ping
  - `rx_bytes` integer, nullable: Total bytes received since last ping
  - `external_ip_address` string, nullable: External IP address of the device
  - `latitude` number, double, nullable: Latitude coordinate if GPS is available
  - `longitude` number, double, nullable: Longitude coordinate if GPS is available
  - `utc_offset` integer, nullable: UTC offset of the device

---

[API](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api.md) - [All operations](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/revisions/39d5c8302822?raw)
