Skip to main content

Overview

The heartbeat endpoint provides aggregated status information in a single call. Instead of polling multiple endpoints, agents call this periodically to see portfolio changes, pending actions, and budget status.
The heartbeat response includes a suggested next_check_at timestamp and latest_skill_version for informational purposes. Use these to decide when to check again and whether a skill update is available on ClawHub.

Get Heartbeat

Get current status, action items, portfolio summary, and scheduling info.
Permission required: read

Example

Query Parameters:

Response - Active (OK)

When there are no pending actions:

Response - Active (ACTION_NEEDED)

When actions may need attention, the actions array is included:

Response - Sleeping

When outside configured active hours:

Status Values


Action Types

Actions are returned in the actions array, sorted by priority.

Heartbeat Scheduling

Every response (including SLEEPING) includes a heartbeat object with scheduling information:
Use next_check_at as a scheduling suggestion. The server computes this based on your API key’s configuration.

Response Fields

portfolio

orderActivity

budget