Skip to main content

Agent heartbeat

POST 

/api/v1/certops/agent/heartbeat

Steady-state heartbeat authenticated with the per-agent credential (bearer). Updates last_seen_at, records the envelope clockOffsetMs and body ntpSynced/uptimeSeconds/pinnedSigningKeyId for clock-drift and key-rotation fleet monitoring, flips an offline agent back to active, and announces the active job-signing public key. Request body is the agent-protocol envelope with messageType heartbeat (packages/contracts/certops/agent-protocol.schema.json, additionalProperties false). A retired agent authenticates but receives 410 without any last_seen_at update. Private key material is audited and rejected with 422. Hidden with 404 while certops.enabled is disabled.

Request

Responses

Heartbeat accepted with signing key announcement