---
title: "Station Heartbeat"
method: POST
path: "/api/intake/station-heartbeat"
tags: ["intake"]
---

# Station Heartbeat

`POST /api/intake/station-heartbeat`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/intake/station-heartbeat`
- Auth: none declared

Logs one station beat under `roost.intake` with its request id. Writes no row, changes no capture.
`%r` on the device label stops a newline forging a second log line. Permission: the intake write the
station already holds (`fulfillment:intake:write`), checked without holding a pool connection
(`INTAKE_WRITE_BRIEFLY`).

## Request body

- StationHeartbeat: One beat from an open intake station (OI-INTAKE-142, 2026-11-02): measured values only, no image. Owner, via the lead, 2026-11-02: "I don't see anything" -- the lead reads these lines, not the owner.
  - `request_id` string, required
  - `station_id` string, required
  - `camera` string, required
  - `camera_label` string
  - `learning` boolean, nullable
  - `present` boolean, nullable
  - `share` number, nullable
  - `moving` number, nullable
  - `still_residual` number, nullable
  - `still_ms` integer, nullable
  - `bright` integer, nullable
  - `sent` integer
  - `failed` integer
  - `in_flight` integer
  - `last_outcome` string
  - `last_ms` integer, nullable
  - `ticks` integer, nullable
  - `frames` integer, nullable
  - `video_w` integer, nullable
  - `ready_state` integer, nullable
  - `watcher_mode` string, nullable
  - `watcher_status` string, nullable
  - `look_rate` integer, nullable
  - `shadow_snaps` integer, nullable
  - `shadow_last_ms` integer, nullable
  - `shadow_snap_ms` integer[], nullable
  - `watcher_why` string, nullable
  - `watcher_mail` integer, nullable
  - `watcher_empty` integer, nullable
  - `watcher_hand` string, nullable
  - `watcher_motion` number, nullable
  - `watcher_still_limit` number, nullable
  - `watcher_frames` integer, nullable
  - `watcher_models` string, nullable
  - `watcher_load_error` string, nullable
  - `watcher_snap_calls` integer, nullable
  - `watcher_snap_refused` integer, nullable
  - `watcher_snap_sent` integer, nullable
  - `watcher_snap_missed` integer, nullable
  - `watcher_gate` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-14** `3b8a2087b1bb`: 1 info
  - added the new optional request property `shadow_snap_ms`
- **2026-11-13** `d6f65784e5dc`: 5 info
  - added the new optional request property `watcher_gate`
  - added the new optional request property `watcher_snap_calls`
  - added the new optional request property `watcher_snap_missed`
  - added the new optional request property `watcher_snap_refused`
  - …1 more
- **2026-11-13** `23417b3079fa`: 5 info
  - added the new optional request property `watcher_frames`
  - added the new optional request property `watcher_load_error`
  - added the new optional request property `watcher_models`
  - added the new optional request property `watcher_motion`
  - …1 more
- **2026-11-13** `8a79cc96bfd9`: 3 info
  - added the new optional request property `watcher_empty`
  - added the new optional request property `watcher_hand`
  - added the new optional request property `watcher_mail`
- **2026-11-12** `74508ee0225e`: 1 warning
  - removed the request property `jev_no_mail`

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/intake/station-heartbeat/post.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
