Skip to main content
Automations run an agent prompt on a schedule. Each automation belongs to one agent and one stable subjectId, and every occurrence runs in a fresh session with that subject’s persistent workspace and memory. All schedules use UTC. Herm accepts an ISO timestamp, a one-time duration such as 30m, a recurring interval such as every 2h, or a five-field cron expression.

Create an automation

The response includes the normalized schedule, human-readable scheduleDisplay, nextRunAt, current state, and run counters.

List automations

List automations for one subject:
List automations across all subjects for an agent:

Read and update

PATCH accepts any subset of the create fields. Set repeat to null to remove a repeat limit.

Pause, resume, and trigger

Manual trigger returns the new sessionId and does not change nextRunAt. Pause prevents scheduled occurrences without deleting history; resume computes the next eligible occurrence.

Run history

The response lists the fresh sessions created by scheduled and manual runs. Follow each session through the normal event stream.

Delete

Deletion stops future runs while preserving historical sessions. Scheduled work is recovered after transient gateway failures, so external side effects should be idempotent.
Last modified on July 25, 2026