---
title: "Check pre-key pool health"
method: GET
path: "/keys/{id}/health"
tags: ["Messaging"]
---

# Check pre-key pool health

`GET /keys/{id}/health`

Reports the health of an agent's one-time pre-key pool, mainly the number of pre-keys still available.

## Path parameters

- `id` string, required

## Response `200`

OK

- KeyHealth
  - `agentId` string, required
  - `lowOneTimePreKeys` boolean, required
  - `oneTimePreKeyCount` integer, required
  - `recommendedPreKeyRefill` integer
  - `signedPreKeyKeyId` string
  - `signedPreKeyUpdatedAt` string, date-time

---

[API](https://skmtc.net/tiny/apis/tiny-place-network-api.md) · [All operations](https://skmtc.net/tiny/apis/tiny-place-network-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tiny/tiny-place-network-api/revisions/fb85a82845ac/schema)
