Skip to main content

Overview

The Heartbeat API lets you programmatically create, manage, and monitor autonomous agent schedules. Agents with heartbeat enabled run on a timer, execute prompts, use connected tools, and can notify users — all without human interaction.
Before using the Heartbeat API, the bot must have heartbeat enabled. Set heartbeat: true via the Bot Management API update endpoint.

Configure a Heartbeat

Create or update a heartbeat configuration for a bot.

Parameters

Example

Response

List Heartbeats

Get all heartbeat configurations for a bot.

Parameters

Response

Get a Heartbeat

Get a single heartbeat configuration by its UUID.

Enable a Heartbeat

Activate a heartbeat so it starts running on its schedule.

Disable a Heartbeat

Pause a heartbeat without deleting its configuration.

Trigger a Heartbeat

Manually trigger a single heartbeat execution for testing. The heartbeat does not need to be enabled.

Response

Delete a Heartbeat

Permanently delete a heartbeat configuration and remove its scheduled job.

Get Execution Logs

Retrieve the execution history for a bot’s heartbeats.

Parameters

Response

Get Execution Stats

Get aggregated statistics for a bot’s heartbeat executions.

Parameters

Response

Error Codes

Next Steps

Bot Management

Enable heartbeat on your bot

Heartbeat for Creators

No-code heartbeat setup guide