Schedules

Operations for creating and managing scheduled agents

List scheduled agents

get

Retrieve all scheduled agents accessible to the authenticated user. Results are sorted alphabetically by name.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Responses
chevron-right
200

List of scheduled agents

application/json

Response containing all scheduled agents accessible to the authenticated user, sorted alphabetically by name.

get
/agent/schedules

Create a scheduled agent

post

Create a new scheduled agent that runs on a cron schedule. The agent will be triggered automatically based on the cron expression.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Body

Request body for creating a new scheduled agent. Either prompt or agent_config.skill_spec is required.

namestringRequired

Human-readable name for the schedule

cron_schedulestringRequired

Cron expression defining when the agent runs (e.g., "0 9 * * *" for daily at 9am UTC)

promptstringOptional

The prompt/instruction for the agent to execute. Required unless agent_config.skill_spec is provided.

enabledbooleanOptional

Whether the schedule should be active immediately

Default: true
teambooleanOptional

Whether to create a team-owned schedule. Defaults to true for users on a single team.

Responses
post
/agent/schedules

Get scheduled agent details

get

Retrieve detailed information about a specific scheduled agent, including its configuration, history, and next scheduled run time.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Path parameters
scheduleIdstringRequired

The unique identifier of the scheduled agent

Responses
chevron-right
200

Scheduled agent details

application/json
idstringRequired

Unique identifier for the scheduled agent

namestringRequired

Human-readable name for the schedule

cron_schedulestringRequired

Cron expression defining when the agent runs (e.g., "0 9 * * *" for daily at 9am UTC)

enabledbooleanRequired

Whether the schedule is currently active

promptstringRequired

The prompt/instruction for the agent to execute

last_spawn_errorstring · nullableOptional

Error message from the last failed spawn attempt, if any

created_atstring · date-timeRequired

Timestamp when the schedule was created (RFC3339)

updated_atstring · date-timeRequired

Timestamp when the schedule was last updated (RFC3339)

get
/agent/schedules/{scheduleId}

Update a scheduled agent

put

Update an existing scheduled agent's configuration. All fields except agent_config are required.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Path parameters
scheduleIdstringRequired

The unique identifier of the scheduled agent

Body

Request body for updating a scheduled agent. Either prompt or agent_config.skill_spec is required.

namestringRequired

Human-readable name for the schedule

cron_schedulestringRequired

Cron expression defining when the agent runs

promptstringOptional

The prompt/instruction for the agent to execute. Required unless agent_config.skill_spec is provided.

enabledbooleanRequired

Whether the schedule should be active

Responses
chevron-right
200

Scheduled agent updated successfully

application/json
idstringRequired

Unique identifier for the scheduled agent

namestringRequired

Human-readable name for the schedule

cron_schedulestringRequired

Cron expression defining when the agent runs (e.g., "0 9 * * *" for daily at 9am UTC)

enabledbooleanRequired

Whether the schedule is currently active

promptstringRequired

The prompt/instruction for the agent to execute

last_spawn_errorstring · nullableOptional

Error message from the last failed spawn attempt, if any

created_atstring · date-timeRequired

Timestamp when the schedule was created (RFC3339)

updated_atstring · date-timeRequired

Timestamp when the schedule was last updated (RFC3339)

put
/agent/schedules/{scheduleId}

Delete a scheduled agent

delete

Delete a scheduled agent. This will stop all future scheduled runs.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Path parameters
scheduleIdstringRequired

The unique identifier of the scheduled agent

Responses
chevron-right
200

Scheduled agent deleted successfully

application/json

Confirmation response returned after a scheduled agent is successfully deleted.

successbooleanRequired

Whether the deletion was successful

delete
/agent/schedules/{scheduleId}

Pause a scheduled agent

post

Pause a scheduled agent. The agent will not run until resumed. This sets the enabled flag to false.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Path parameters
scheduleIdstringRequired

The unique identifier of the scheduled agent

Responses
chevron-right
200

Scheduled agent paused successfully

application/json
idstringRequired

Unique identifier for the scheduled agent

namestringRequired

Human-readable name for the schedule

cron_schedulestringRequired

Cron expression defining when the agent runs (e.g., "0 9 * * *" for daily at 9am UTC)

enabledbooleanRequired

Whether the schedule is currently active

promptstringRequired

The prompt/instruction for the agent to execute

last_spawn_errorstring · nullableOptional

Error message from the last failed spawn attempt, if any

created_atstring · date-timeRequired

Timestamp when the schedule was created (RFC3339)

updated_atstring · date-timeRequired

Timestamp when the schedule was last updated (RFC3339)

post
/agent/schedules/{scheduleId}/pause

Resume a scheduled agent

post

Resume a paused scheduled agent. The agent will start running according to its cron schedule. This sets the enabled flag to true.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Path parameters
scheduleIdstringRequired

The unique identifier of the scheduled agent

Responses
chevron-right
200

Scheduled agent resumed successfully

application/json
idstringRequired

Unique identifier for the scheduled agent

namestringRequired

Human-readable name for the schedule

cron_schedulestringRequired

Cron expression defining when the agent runs (e.g., "0 9 * * *" for daily at 9am UTC)

enabledbooleanRequired

Whether the schedule is currently active

promptstringRequired

The prompt/instruction for the agent to execute

last_spawn_errorstring · nullableOptional

Error message from the last failed spawn attempt, if any

created_atstring · date-timeRequired

Timestamp when the schedule was created (RFC3339)

updated_atstring · date-timeRequired

Timestamp when the schedule was last updated (RFC3339)

post
/agent/schedules/{scheduleId}/resume

Last updated

Was this helpful?