v3

latestOpenAPI 3.1.02026-08-08298342605.3 KB
Workers
Worker Activity

Record worker heartbeat

Accepts signed heartbeat and recent-activity updates from a worker so Den can track worker health and recent usage.

post/v1/workers/{id}/activity-heartbeat

Path parameters

idstring typeid required

Den TypeID with 'wrk_' prefix and a 26-character base32 suffix.

Request body

sentAtstring date-time
isActiveRecentlyboolean required
lastActivityAtstring date-time nullable
openSessionCountinteger

Response

Worker heartbeat accepted successfully.

oktrue required
workerIdstring required
isActiveRecentlyboolean required
openSessionCountinteger nullable required
lastHeartbeatAtstring date-time required
lastActiveAtstring date-time nullable required