Creates a new scheduled task that will automatically run the agent based on the specified schedule.
Schedule Types:
StartTime Validation:
CRON Schedule Example:
{
"name": "Daily Morning Run",
"scheduleType": 3,
"cronExpression": "0 9 * * 1,4",
"timezone": "America/New_York",
"isEnabled": true
}
Run Once Example:
{
"name": "One-time Run",
"scheduleType": 1,
"startTime": "2026-01-20T14:30:00Z",
"timezone": "America/New_York",
"isEnabled": true
}
Run Every Example (every 30 minutes):
{
"name": "Frequent Check",
"scheduleType": 2,
"runEveryCount": 30,
"runEveryPeriod": 0,
"startTime": "2026-01-17T10:00:00Z",
"timezone": "America/Denver",
"isEnabled": true
}
Documentation Index
Fetch the complete documentation index at: https://docs.sequentum.com/llms.txt
Use this file to discover all available pages before exploring further.
API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"
OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"
The ID of the agent
The schedule configuration
Request model for creating a new schedule
Name of the schedule (required)
Cron expression for the schedule (e.g., "0 9 * * 1,4" for Mon/Thu at 9am)
Local schedule expression (human readable)
Timezone for the schedule (e.g., "America/New_York")
Start date/time for the schedule in UTC.
"2026-01-20T14:30:00Z"
JSON string of input parameters for scheduled runs
0, 1, 2, 3 Whether the schedule is enabled
Run every N periods (used with RunEveryPeriod)
Period unit for RunEveryCount (1=minutes, 2=hours, 3=days, 4=weeks, 5=months)
Parallelism level for the scheduled run
Max concurrency for parallel runs
Combined, Separated Proxy pool ID to use for scheduled runs
Server group ID for scheduled runs (optional). When specified, the schedule will run on servers in this group.
Fatal, Error, Warning, Info Text, TextAndHtml Whether to run exclusively (no concurrent runs)
Whether to wait on failure before retrying
Returns the created schedule
Represents a scheduled task for an agent in the External API
0, 1, 2, 3 Combined, Separated Fatal, Error, Warning, Info Text, TextAndHtml