Send Heartbeat And Verify
A 2-step recipe with WakaTime. We can help you get access.
Recipe · 2 steps
Send Heartbeat And Verify
with WakaTime
Post one heartbeat, then read back the day's heartbeats to verify it.
- Post a single heartbeat describing editor activity.
- List the day's heartbeats to confirm the posted activity was recorded.
What you'll need to have ready
- apiKeyBasicAuth: Base64 of "<api_key>:" for HTTP Basic auth (WakaTime API key as username).
- entity: The file path or entity the activity is attributed to.
- type: The heartbeat entity type (e.g. file).
- category: The activity category (e.g. coding).
- time: UNIX epoch timestamp of the heartbeat.
- project: Optional project name for the heartbeat.
- language: Optional language for the heartbeat.
- isWrite: Whether the heartbeat represents a write/save.
- date: The day (YYYY-MM-DD) used to verify the heartbeat landed.
For your developer
Arazzo workflow wakatime:send-heartbeat-and-verify, 2 operations: createHeartbeat → listHeartbeats. Specs on APIs.io.