v171

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
Agent Schedules

Retrieve schedule

Retrieves a single schedule by ID.

get/v3/agents/{agent_key}/schedules/{schedule_id}

Path parameters

agent_keystring required

The unique routing key of the agent the schedule belongs to.

The unique routing key of the agent the schedule belongs to.

schedule_idstring required

The schedule's ULID, as returned from create.

The schedule's ULID, as returned from create.

Response

Schedule retrieved.

_idstring required

ULID identifying this schedule.

agent_keystring required
agent_tagstring

Pinned agent version. Omit to always run the agent's current active version.

createdstring date-time required
created_by_idstring required

ID of the API key that created the schedule.

display_namestring

Human-readable name of the schedule. Omitted for schedules created before display names were required.

expressionstring required

6-field cron expression. Schedules stored before the cron-only restriction may also return an @every duration or an @at RFC3339 timestamp.

generationinteger required

Monotonic counter bumped when the schedule's firing cadence changes. Used by the consumer to skip stale in-flight triggers.

is_activeboolean required

Whether the schedule is currently firing. Legacy once schedules flip to false automatically after firing.

last_triggered_atstring date-time

Timestamp of the most recent firing, if any.

trigger_countinteger required

Total firings since creation or last expression/type change.

type'cron' | 'once' | 'interval' required

Schedule type. Only cron can be created or updated; once and interval only appear on schedules stored before that restriction.

updatedstring date-time required
updated_by_idstring

ID of the API key that last updated the schedule. Omitted until the schedule is updated.