---
title: "Indicates to clients whether or not they are hives serving a webserver."
method: GET
path: "/api/util/pl-hardware-info"
tags: ["Utility"]
---

# Indicates to clients whether or not they are hives serving a webserver.

`GET /api/util/pl-hardware-info`

## Request

- Base URL: `https://passivelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://passivelogic.com/api/util/pl-hardware-info`
- Auth: none declared
- TypeScript: <https://skmtc.dev/passivelogic/apis/passivelogic-http-api/docs/api/util/pl-hardware-info/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a JSON object where the field 'runningOnHive' will be true if, on the server, the PL_HIVE_REVISION environment variable
is set to a number greater than or equal to zero.

## Response `200`

OK

- DeployedOnHiveResponse
  - `runningOnHive` boolean, required

---

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